From c9d23be1b29c6c55bfef522bff74bcbee38aa5fc Mon Sep 17 00:00:00 2001 From: Oleg Date: Mon, 2 Sep 2024 14:26:00 +0000 Subject: [PATCH] fix set timezone for docker compose services --- docker-compose.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index b58c8e5..cb2420f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,6 +7,7 @@ services: environment: - SCHEDULE_BOT_TOKEN=${SCHEDULE_BOT_TOKEN} - DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB} + - TZ=Europe/Moscow server: build: context: . @@ -17,6 +18,7 @@ services: environment: - SCHEDULE_BOT_TOKEN=${SCHEDULE_BOT_TOKEN} - DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB} + - TZ=Europe/Moscow initializer: build: context: . @@ -24,6 +26,7 @@ services: environment: - SCHEDULE_BOT_TOKEN=${SCHEDULE_BOT_TOKEN} - DATABASE_URL=postgresql://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/${POSTGRES_DB} + - TZ=Europe/Moscow db: image: postgres:15.4 restart: always