File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ COPY requirements.txt requirements.txt
1010
1111RUN pip3 install -U pip
1212RUN pip3 install --no-cache-dir -r requirements.txt
13- RUN apt update -y && \
14- apt install curl jq -y
1513
1614FROM builder
1715
Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ services:
1010 - etl
1111 ports :
1212 - " 8888:8888"
13- # healthcheck:
14- # test: "curl http://attainments_sanctuary:8888/healthcheck | jq -r '.healthcheck'"
15- # interval : 5s
16- # timeout : 5s
17- # retries: 20
18- # start_period: 5s
13+ healthcheck :
14+ test : " curl http://attainments_sanctuary:8888/healthcheck | jq -r '.healthcheck'"
15+ start_period : 5s
16+ interval : 5s
17+ timeout : 5s
18+ retries : 20
1919
2020 epistolary :
2121 container_name : epistolary
@@ -26,7 +26,8 @@ services:
2626 - etl
2727 hostname : epistolary
2828 depends_on :
29- - " attainments_sanctuary"
29+ attainments_sanctuary :
30+ condition : service_healthy
3031 volumes :
3132 - " ./settings.toml:/opt/settings.toml"
3233
@@ -37,8 +38,10 @@ services:
3738 restart : always
3839 networks :
3940 - etl
41+ hostname : datapath
4042 depends_on :
41- - " attainments_sanctuary"
43+ attainments_sanctuary :
44+ condition : service_healthy
4245 volumes :
4346 - " ./settings.toml:/opt/settings.toml"
4447
You can’t perform that action at this time.
0 commit comments