Add localtime volume mount to ensure timezone consistency
This commit is contained in:
parent
39e18ea3c7
commit
e0cb6707b7
@ -5,6 +5,7 @@ services:
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./config/postgres:/var/lib/postgresql/data
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
POSTGRES_PASSWORD: itsasecret
|
||||
POSTGRES_USER: dendrite
|
||||
@ -29,6 +30,7 @@ services:
|
||||
- ./config/media:/var/dendrite/media
|
||||
- ./config/jetstream:/var/dendrite/jetstream
|
||||
- ./config/search_index:/var/dendrite/searchindex
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
@ -39,7 +41,8 @@ services:
|
||||
image: dock.mau.dev/mautrix/whatsapp
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./config/mautrix-whatsapp:/data
|
||||
- ./config/mautrix-whatsapp:/data
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
command: ["/usr/bin/mautrix-whatsapp", "--ignore-unsupported-server"]
|
||||
depends_on:
|
||||
postgres:
|
||||
@ -50,7 +53,8 @@ services:
|
||||
image: dock.mau.dev/mautrix/telegram
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./config/mautrix-telegram:/data
|
||||
- ./config/mautrix-telegram:/data
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
@ -60,7 +64,8 @@ services:
|
||||
image: dock.mau.dev/mautrix/discord
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./config/mautrix-discord:/data
|
||||
- ./config/mautrix-discord:/data
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
depends_on:
|
||||
postgres:
|
||||
condition: service_healthy
|
||||
@ -71,6 +76,7 @@ services:
|
||||
volumes:
|
||||
- ./config/dendrite:/etc/dendrite
|
||||
- ./config/media:/var/dendrite/media
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- CRON=0 0 * * *
|
||||
- CLEANMEDIA_OPTS=-c /etc/dendrite/dendrite.yaml -t 30 -l
|
||||
|
Loading…
x
Reference in New Issue
Block a user