From a488802847ed9a3506c3c4a531ecd8e2477af531 Mon Sep 17 00:00:00 2001 From: Zedifus Date: Sun, 27 Feb 2022 18:35:24 +0000 Subject: [PATCH] Add required userns env variables And missing TZ var --- docker-compose.yml.example | 6 +++++- docker/docker-compose.yml | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml.example b/docker-compose.yml.example index de5700f1..05b023a2 100644 --- a/docker-compose.yml.example +++ b/docker-compose.yml.example @@ -4,6 +4,10 @@ services: crafty: container_name: crafty_commander image: registry.gitlab.com/crafty-controller/crafty-commander:latest + environment: + - PGID=0 + - PUID=0 + - TZ=Etc/UTC ports: - "8000:8000" # HTTP - "8443:8443" # HTTPS @@ -15,4 +19,4 @@ services: - ./docker/logs:/commander/logs - ./docker/servers:/commander/servers - ./docker/config:/commander/app/config - - ./import:/commander/import + - ./docker/import:/commander/import diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 5e751d30..8988a6b9 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -4,6 +4,10 @@ services: crafty: container_name: crafty_commander build: .. + environment: + - PGID=0 + - PUID=0 + - TZ=Etc/UTC ports: - "8000:8000" # HTTP - "8443:8443" # HTTPS