Add files via upload

This commit is contained in:
Egor
2026-01-15 20:01:59 +03:00
committed by GitHub
parent 56856e7acd
commit 250df844f3
2 changed files with 98 additions and 17 deletions

View File

@@ -1,3 +1,7 @@
# Docker Compose для локальной разработки/тестирования
# Для production используйте готовые образы или настройте Caddy/Nginx
# См. README.md раздел "Настройка прокси для production"
services:
cabinet-frontend:
build:
@@ -12,9 +16,11 @@ services:
container_name: cabinet_frontend
restart: unless-stopped
ports:
# Маппинг: <хост-порт>:<контейнер-порт>
# Внутри контейнера nginx слушает на порту 80
- "${CABINET_PORT:-3000}:80"
healthcheck:
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/health"]
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/"]
interval: 30s
timeout: 3s
retries: 3