feat(Directus): Add timezone variable

This commit is contained in:
Simon 2022-03-07 11:51:21 +01:00
parent 1cee679407
commit cfd8b5a2ce
1 changed files with 2 additions and 2 deletions

View File

@ -13,8 +13,6 @@ services:
restart: always restart: always
volumes: volumes:
- directus:/directus/uploads - directus:/directus/uploads
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
depends_on: depends_on:
- postgres - postgres
- redis - redis
@ -34,5 +32,7 @@ services:
DB_USER: ${POSTGRES_USER:?err} DB_USER: ${POSTGRES_USER:?err}
DB_PASSWORD: ${POSTGRES_PASSWORD:?err} DB_PASSWORD: ${POSTGRES_PASSWORD:?err}
TZ: ${TZ:-Europe/Paris}
PUID: ${DIRECTUS_PUID:-1000} PUID: ${DIRECTUS_PUID:-1000}
PGID: ${DIRECTUS_PGID:-1000} PGID: ${DIRECTUS_PGID:-1000}