Skip to content

Commit

Permalink
fix set timezone for docker compose services
Browse files Browse the repository at this point in the history
  • Loading branch information
smart7even committed Sep 2, 2024
1 parent 29fd0eb commit c9d23be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: .
Expand All @@ -17,13 +18,15 @@ 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: .
dockerfile: Dockerfile-initializer
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
Expand Down

0 comments on commit c9d23be

Please sign in to comment.