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:
21
docker-compose.yml
Normal file
21
docker-compose.yml
Normal file
@@ -0,0 +1,21 @@
|
||||
services:
|
||||
cabinet-frontend:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
# API URL - use /api for same-server deployment or full URL for external backend
|
||||
VITE_API_URL: ${VITE_API_URL:-/api}
|
||||
VITE_TELEGRAM_BOT_USERNAME: ${VITE_TELEGRAM_BOT_USERNAME}
|
||||
VITE_APP_NAME: ${VITE_APP_NAME:-Cabinet}
|
||||
VITE_APP_LOGO: ${VITE_APP_LOGO:-V}
|
||||
container_name: cabinet_frontend
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "${CABINET_PORT:-3000}:80"
|
||||
healthcheck:
|
||||
test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost:80/health"]
|
||||
interval: 30s
|
||||
timeout: 3s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
Reference in New Issue
Block a user