Add required userns env variables

And missing TZ var
This commit is contained in:
Zedifus 2022-02-27 18:35:24 +00:00
parent a0e6822bf3
commit a488802847
2 changed files with 9 additions and 1 deletions

View File

@ -4,6 +4,10 @@ services:
crafty: crafty:
container_name: crafty_commander container_name: crafty_commander
image: registry.gitlab.com/crafty-controller/crafty-commander:latest image: registry.gitlab.com/crafty-controller/crafty-commander:latest
environment:
- PGID=0
- PUID=0
- TZ=Etc/UTC
ports: ports:
- "8000:8000" # HTTP - "8000:8000" # HTTP
- "8443:8443" # HTTPS - "8443:8443" # HTTPS
@ -15,4 +19,4 @@ services:
- ./docker/logs:/commander/logs - ./docker/logs:/commander/logs
- ./docker/servers:/commander/servers - ./docker/servers:/commander/servers
- ./docker/config:/commander/app/config - ./docker/config:/commander/app/config
- ./import:/commander/import - ./docker/import:/commander/import

View File

@ -4,6 +4,10 @@ services:
crafty: crafty:
container_name: crafty_commander container_name: crafty_commander
build: .. build: ..
environment:
- PGID=0
- PUID=0
- TZ=Etc/UTC
ports: ports:
- "8000:8000" # HTTP - "8000:8000" # HTTP
- "8443:8443" # HTTPS - "8443:8443" # HTTPS