env
This commit is contained in:
parent
71a41e003b
commit
d2064e462c
|
@ -7,12 +7,15 @@ services:
|
|||
restart: always
|
||||
expose:
|
||||
- "8000"
|
||||
# healthcheck:
|
||||
# test: curl -f http://localhost:8000/ || exit 1
|
||||
# interval: 5s
|
||||
# timeout: 3s
|
||||
healthcheck:
|
||||
test: curl -f http://localhost:8000/ || exit 1
|
||||
interval: 5s
|
||||
timeout: 3s
|
||||
retries: 20
|
||||
volumes:
|
||||
- ./.env:/app/.env
|
||||
- ./pyproject.toml:/app/pyproject.toml
|
||||
- ./poetry.lock:/app/poetry.lock
|
||||
networks:
|
||||
- toinv-network
|
||||
image: ci.svs-tech.pro/toinv_back:latest
|
||||
|
@ -25,9 +28,9 @@ services:
|
|||
restart: always
|
||||
expose:
|
||||
- "3000"
|
||||
# depends_on:
|
||||
# back:
|
||||
# condition: service_healthy
|
||||
depends_on:
|
||||
back:
|
||||
condition: service_healthy
|
||||
networks:
|
||||
- toinv-network
|
||||
image: ci.svs-tech.pro/toinv_front:latest
|
||||
|
@ -38,9 +41,9 @@ services:
|
|||
restart: always
|
||||
ports:
|
||||
- "${WEB_PORT}:80"
|
||||
# depends_on:
|
||||
# back:
|
||||
# condition: service_healthy
|
||||
depends_on:
|
||||
back:
|
||||
condition: service_healthy
|
||||
links:
|
||||
- back:back
|
||||
- front:front
|
||||
|
|
Loading…
Reference in New Issue