port default

This commit is contained in:
Kseninia Mikhaylova 2024-07-23 10:42:33 +03:00
parent ad36e16f93
commit 85875778ae
2 changed files with 6 additions and 2 deletions

View File

@ -40,7 +40,7 @@ services:
container_name: toinv-nginx
restart: always
ports:
- "${WEB_PORT}:80"
- "${WEB_PORT:-80}:80"
depends_on:
back:
condition: service_healthy
@ -48,7 +48,6 @@ services:
- back:back
- front:front
volumes:
- ./env/docker.env:/app/.env
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
- ./nginx/conf.d:/etc/nginx/conf.d
networks:

View File

@ -1,5 +1,10 @@
# TO INVENTORY
## Прод
* примонтируйте энв файлы
* * или запускайте докер с путем к энв `docker compose --env-file ./env/docker.env up`
## DEV
* Как запустить: `./dev.sh`