Skip to content

Commit 4558d56

Browse files
committed
chore: add start healthchecks
1 parent 35b9546 commit 4558d56

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

docker-compose-prod.yml

+6-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ services:
88
mem_limit: '512m'
99
healthcheck:
1010
test: ['CMD', 'curl', '-f', 'http://localhost']
11-
interval: 10s
11+
start_period: 10s
12+
start_interval: 1s
13+
interval: 30s
1214
timeout: 10s
1315
retries: 3
1416
labels:
@@ -22,6 +24,8 @@ services:
2224
mem_limit: '768m'
2325
healthcheck:
2426
test: ['CMD', 'mariadb', '-u${MARIADB_USER}', '-p${MARIADB_PASSWORD}', '-e', 'show databases;']
25-
interval: 10s
27+
start_period: 10s
28+
start_interval: 1s
29+
interval: 30s
2630
timeout: 10s
2731
retries: 3

0 commit comments

Comments
 (0)