Browse Source

Docker: Try to fix "Failed export and unexpected container restart". Added timezone and localtime.

Thanks to akitzing, mfilser and xet7 !

Fixes #4089
Lauri Ojansivu 3 years ago
parent
commit
ec33d0b34f
2 changed files with 10 additions and 0 deletions
  1. 5 0
      docker-compose.yml
  2. 5 0
      torodb-postgresql/docker-compose.yml

+ 5 - 0
docker-compose.yml

@@ -719,6 +719,11 @@ volumes:
     driver: local
   wekan-db-dump:
     driver: local
+  wekan-tmp:
+    driver: local
+  - /etc/localtime:/etc/localtime:ro
+  - /etc/timezone:/etc/timezone:ro
+  - ./volumes/wekan-tmp:/tmp
 
 networks:
   wekan-tier:

+ 5 - 0
torodb-postgresql/docker-compose.yml

@@ -636,6 +636,11 @@ volumes:
     driver: local
   mongodb-dump:
     driver: local
+  wekan-tmp:
+    driver: local
+  - /etc/localtime:/etc/localtime:ro
+  - /etc/timezone:/etc/timezone:ro
+  - ./volumes/wekan-tmp:/tmp
 
 networks:
   wekan-tier: