This commit is contained in:
Kseninia Mikhaylova 2024-07-16 16:59:53 +03:00
parent 71a41e003b
commit d2064e462c
1 changed files with 13 additions and 10 deletions

View File

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