mirror of
https://github.com/chillpadclub/bedolaga-cabinet.git
synced 2026-07-28 01:23:47 +00:00
Update environment variables and Docker Compose configuration for frontend port
This commit is contained in:
@@ -20,5 +20,5 @@ VITE_APP_LOGO=V
|
||||
# ===== RUNTIME VARIABLES =====
|
||||
|
||||
# Port to expose the frontend on host machine
|
||||
# Default: 3000 (http://localhost:3000)
|
||||
CABINET_PORT=3000
|
||||
# Default: 3020 (http://localhost:3020)
|
||||
CABINET_PORT=3020
|
||||
|
||||
@@ -20,9 +20,17 @@ services:
|
||||
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