Files
Beszel/docker-compose.yml
T
Tomas Dvorak 21657abe38
Build Docker images / Hub (push) Failing after 5m57s
feat(site): enhance monitoring, domain, and system tracking
- Improve domain lookup by adding CNAME and SRV record support
- Enhance domain status logic to include expiry and DNS resolution verification
- Update monitoring API to perform synchronous initial checks for immediate status updates
- Refactor site UI:
    - Add tag filtering to domains and monitors tables
    - Improve calendar view with better visual indicators for today and events
    - Update monitor detail view with improved status badges and pending states
    - Simplify home page layout by removing redundant card wrappers
- Update localization files for numerous languages to support new UI elements
- Add `cleanEndpointsConfig` to hub to safely reuse Docker network settings during container updates
2026-05-02 15:38:41 +02:00

51 lines
1.4 KiB
YAML

# Beszel Monitoring Hub
# Usage:
# docker compose up -d # Start hub
# make start # Quick start via Makefile
#
# The agent runs on remote hosts and connects to this hub.
name: beszel
services:
beszel-hub:
image: ghcr.io/dvorinka/beszel:latest
build:
context: .
target: hub
container_name: beszel-hub
restart: unless-stopped
ports:
- "8090:8090"
volumes:
- beszel-data:/beszel_data
- /var/run/docker.sock:/var/run/docker.sock
environment:
- APP_URL=${APP_URL:-http://localhost:8090}
- INSTANCE_NAME=${INSTANCE_NAME:-Beszel Monitoring}
- REGISTRATION_ENABLED=${REGISTRATION_ENABLED:-true}
- MAX_MONITORS_PER_USER=${MAX_MONITORS_PER_USER:-50}
- MAX_DOMAINS_PER_USER=${MAX_DOMAINS_PER_USER:-50}
- MAX_STATUS_PAGES=${MAX_STATUS_PAGES:-10}
- TWO_FACTOR_ENABLED=${TWO_FACTOR_ENABLED:-true}
- PASSKEY_ENABLED=${PASSKEY_ENABLED:-true}
- PAGESPEED_ENABLED=${PAGESPEED_ENABLED:-true}
- SUBDOMAIN_DISCOVERY=${SUBDOMAIN_DISCOVERY:-true}
- STATUS_PAGES_ENABLED=${STATUS_PAGES_ENABLED:-true}
- BADGES_ENABLED=${BADGES_ENABLED:-true}
healthcheck:
test: ["CMD", "/beszel", "health", "--url", "http://localhost:8090"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
networks:
- beszel
volumes:
beszel-data:
networks:
beszel:
driver: bridge