mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
Add files via upload
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user