mirror of
https://github.com/eduardogsilva/routerfleet.git
synced 2025-08-05 10:44:32 +02:00
Timezone applied to all containers
This commit is contained in:
parent
f364913ebb
commit
0378a37d23
5 changed files with 31 additions and 6 deletions
|
@ -9,6 +9,7 @@ services:
|
|||
- POSTGRES_DB=${POSTGRES_DB}
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- TZ=${TIMEZONE}
|
||||
|
||||
routerfleet:
|
||||
container_name: routerfleet
|
||||
|
@ -24,7 +25,8 @@ services:
|
|||
- POSTGRES_DB=${POSTGRES_DB}
|
||||
- POSTGRES_USER=${POSTGRES_USER}
|
||||
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
|
||||
- TIMEZONE=${TIMEZONE}
|
||||
- TZ=${TIMEZONE}
|
||||
- COMPOSE_VERSION=02b
|
||||
- COMPOSE_TYPE=with-postgres
|
||||
|
||||
volumes:
|
||||
|
@ -41,6 +43,8 @@ services:
|
|||
build:
|
||||
context: ./containers/cron
|
||||
dockerfile: Dockerfile-cron
|
||||
environment:
|
||||
- TZ=${TIMEZONE}
|
||||
depends_on:
|
||||
- routerfleet
|
||||
|
||||
|
@ -50,6 +54,8 @@ services:
|
|||
build:
|
||||
context: ./containers/monitoring
|
||||
dockerfile: Dockerfile-monitoring
|
||||
environment:
|
||||
- TZ=${TIMEZONE}
|
||||
depends_on:
|
||||
- routerfleet
|
||||
|
||||
|
@ -62,6 +68,7 @@ services:
|
|||
dockerfile: Dockerfile-nginx
|
||||
environment:
|
||||
- HTTPS_REDIRECT_POLICY=${HTTPS_REDIRECT_POLICY}
|
||||
- TZ=${TIMEZONE}
|
||||
volumes:
|
||||
- static_volume:/static
|
||||
- https_cert:/certificate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue