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