Skip to content

Commit bb69f61

Browse files
Drops drain time 1s in dev
1 parent c436604 commit bb69f61

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ services:
88
condition: service_started
99
worker:
1010
condition: service_started
11+
environment:
12+
- PUMA_DELAYED_STOP_DRAIN_SECONDS=1
1113
healthcheck:
1214
test: curl -sf http://localhost:3000/health/default
1315
interval: 15s
@@ -33,6 +35,14 @@ services:
3335
depends_on:
3436
- db
3537
- selenium
38+
environment:
39+
- GOOD_JOB_PROBE_PORT=7001
40+
healthcheck:
41+
test: curl localhost:7001/status/started
42+
interval: 1m
43+
timeout: 5s
44+
retries: 5
45+
start_period: 30s
3646
ports: []
3747

3848
db:

0 commit comments

Comments
 (0)