mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 09:33:46 +00:00
Update environment variables and Docker Compose configuration for frontend port
This commit is contained in:
@@ -16,13 +16,21 @@ services:
|
||||
container_name: cabinet_frontend
|
||||
restart: unless-stopped
|
||||
env_file:
|
||||
- .env # Загрузить переменные из .env файла
|
||||
- .env # Загрузить переменные из .env файла
|
||||
ports:
|
||||
# Маппинг: <хост-порт>:<контейнер-порт>
|
||||
# Внутри контейнера nginx слушает на порту 80
|
||||
- "${CABINET_PORT:-3000}:80"
|
||||
- '${CABINET_PORT:-3020}:80'
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/"]
|
||||
test:
|
||||
[
|
||||
'CMD',
|
||||
'wget',
|
||||
'--no-verbose',
|
||||
'--tries=1',
|
||||
'--spider',
|
||||
'http://localhost:80/',
|
||||
]
|
||||
interval: 30s
|
||||
timeout: 3s
|
||||
retries: 3
|
||||
|
||||
Reference in New Issue
Block a user