Fix port mapping in Docker compose and add volume for persistence
This commit is contained in:
parent
af39421917
commit
aaf2935141
1 changed files with 3 additions and 1 deletions
|
@ -3,7 +3,9 @@ services:
|
|||
container_name: grist
|
||||
image: gristlabs/grist
|
||||
ports:
|
||||
- ${PORT:-8484}:8484
|
||||
- ${PORT:-8484}:${PORT:-8484}
|
||||
restart: always
|
||||
volumes:
|
||||
- /docker/grist/persist:/persist
|
||||
env_file:
|
||||
- stack.env
|
Reference in a new issue