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

Thanks to akitzing, mfilser and xet7 !

Fixes #4089
This commit is contained in:
Lauri Ojansivu 2021-10-28 16:01:45 +03:00
parent ec33d0b34f
commit e3292dd562
3 changed files with 16 additions and 8 deletions

View file

@ -14,8 +14,8 @@ services:
volumes:
- /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro
- ./volumes/wekan-db:/data/db
- ./volumes/wekan-db-dump:/dump
- wekan-db:/data/db
- wekan-db-dump:/dump
wekan-dev:
container_name: wekan-dev-app
@ -45,12 +45,15 @@ services:
- ../i18n:/home/wekan/app/i18n
- ../server:/home/wekan/app/server
- ../public:/home/wekan/app/public
- wekan-tmp:/tmp
volumes:
wekan-dev-db:
driver: local
wekan-dev-db-dump:
driver: local
wekan-tmp:
driver: local
networks:
wekan-dev-tier: