Files
telemtPanel/docker-compose.fleet.yml
T
Denozordec 9ac385d332
Build and Push Telemt Panel Docker Image / build-and-push (push) Successful in 3m34s
Build and Push Telemt Panel Docker Image / create-release (push) Skipped
Update Docker image references from 'telemtPanel' to 'telemtpanel' across configuration files and documentation for consistency.
2026-08-04 18:36:44 +07:00

50 lines
1.4 KiB
YAML

# Telemt Panel — fleet control plane (published port, agents enroll remotely)
# Docs: docs/install.md
#
# docker compose -f docker-compose.fleet.yml up -d
services:
panel:
image: git.shts.su/denozord/telemtpanel:${PANEL_IMAGE_TAG:-latest}
container_name: telemt-panel
restart: unless-stopped
ports:
- "${SERVER_PORT:-8080}:8080"
env_file:
- .env
environment:
PANEL_MODE: fleet
DATABASE_URL: sqlite:/data/app.db
STATIC_DIR: /app/static
NODE_ENV: production
SERVER_PORT: 8080
JWT_SECRET: ${JWT_SECRET:?set JWT_SECRET in .env}
PANEL_ENCRYPTION_KEY: ${PANEL_ENCRYPTION_KEY:?set PANEL_ENCRYPTION_KEY in .env}
PANEL_PUBLIC_URL: ${PANEL_PUBLIC_URL:?set PANEL_PUBLIC_URL in .env}
BOOTSTRAP_USERNAME: ${BOOTSTRAP_USERNAME:-admin}
BOOTSTRAP_PASSWORD: ${BOOTSTRAP_PASSWORD:-}
LOG_LEVEL: ${LOG_LEVEL:-info}
volumes:
- panel_data:/data
healthcheck:
test:
[
"CMD",
"node",
"-e",
"fetch('http://127.0.0.1:8080/health').then(r=>process.exit(r.ok?0:1)).catch(()=>process.exit(1))",
]
interval: 30s
timeout: 5s
retries: 3
start_period: 15s
logging:
driver: json-file
options:
max-size: "10m"
max-file: "3"
volumes:
panel_data:
name: telemt_panel_fleet_data