Browse Source

Docker: torodb-postgresql has now shared volumes of /etc/localtime and /etc/timezone too

Martin Filser 3 years ago
parent
commit
f9c9f2a453
1 changed files with 6 additions and 0 deletions
  1. 6 0
      torodb-postgresql/docker-compose.yml

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

@@ -108,6 +108,9 @@ services:
       - TORODB_BACKEND_USER=wekan
       - TORODB_BACKEND_PASSWORD=wekan
       - DEBUG
+    volumes:
+      - /etc/localtime:/etc/localtime:ro
+      - /etc/timezone:/etc/timezone:ro
   postgres:
     image: quay.io/wekan/postgres:9.6
     networks:
@@ -116,6 +119,9 @@ services:
       - POSTGRES_PASSWORD=wekan
     ports:
       - "5432:5432"
+    volumes:
+      - /etc/localtime:/etc/localtime:ro
+      - /etc/timezone:/etc/timezone:ro
   mongodb:
     image: mongo:3.2
     networks: