File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -34,12 +34,12 @@ RUN mkdir -p /opt/app \
3434RUN apt-get update -qq
3535
3636# Install standard packages from the Debian repository
37- RUN apt-get install -y \
38- curl \
39- git \
40- gpg \
41- libpq-dev \
42- libyaml-dev
37+ RUN apt-get install -y --no-install-recommends \
38+ curl \
39+ git \
40+ gpg \
41+ libpq-dev \
42+ libyaml-dev
4343
4444# Install Node.js and Yarn from their own repositories
4545
Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments