Skip to content

Commit 8884e3b

Browse files
committed
TZ for dev db
1 parent a3d1724 commit 8884e3b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

docker/docker-compose.dev.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ services:
5252
- ../global:/app/global
5353
- '/etc/localtime:/etc/localtime:ro'
5454
healthcheck:
55-
test: ["CMD", "/usr/bin/check-health"]
55+
test: [ "CMD", "/usr/bin/check-health" ]
5656
interval: 10s
5757
timeout: 3s
5858
depends_on:
@@ -71,12 +71,14 @@ services:
7171
networks:
7272
- nginx_proxy_manager
7373
environment:
74+
TZ: "${TZ:-Australia/Brisbane}"
7475
MYSQL_ROOT_PASSWORD: 'npm'
7576
MYSQL_DATABASE: 'npm'
7677
MYSQL_USER: 'npm'
7778
MYSQL_PASSWORD: 'npm'
7879
volumes:
7980
- db_data:/var/lib/mysql
81+
- '/etc/localtime:/etc/localtime:ro'
8082

8183
db-postgres:
8284
image: postgres:latest
@@ -202,7 +204,7 @@ services:
202204
- nginx_proxy_manager
203205
restart: unless-stopped
204206
healthcheck:
205-
test: ['CMD-SHELL', 'redis-cli ping | grep PONG']
207+
test: [ 'CMD-SHELL', 'redis-cli ping | grep PONG' ]
206208
start_period: 20s
207209
interval: 30s
208210
retries: 5

0 commit comments

Comments
 (0)