add global docker setting

update env.example, add docker-compose.yml for start all services
This commit is contained in:
poturaevpetr
2026-04-22 18:27:32 +05:00
parent eda348deea
commit c32f3e12ec
7 changed files with 153 additions and 6 deletions
+5 -5
View File
@@ -1,8 +1,8 @@
# База данных
DATABASE_URL="postgresql://brandbook:brandbook@localhost:5433/brandbook"
# База данных (локально: порт как в docker-compose.yml, маппинг 5434 -> 5432 в контейнере)
DATABASE_URL="postgresql://brandbook:brandbook@localhost:5434/brandbook"
# API (NestJS)
API_PORT=3001
# API (NestJS) — в коде используется переменная PORT
PORT=3001
# Web (Next.js)
# Web (Next.js) — URL API в браузере (при docker compose: http://localhost:3001)
NEXT_PUBLIC_API_URL=http://localhost:3001