services: dockmon: image: darthnorse/dockmon:latest container_name: dockmon restart: unless-stopped # ports: # - 8000:443 volumes: - data:/app/data - /var/run/docker.sock:/var/run/docker.sock healthcheck: test: [ "CMD", "curl", "-k", "-f", "https://localhost:443/health" ] interval: 30s timeout: 10s retries: 3 labels: - "traefik.enable=true" - "traefik.docker.network=proxy" - "traefik.http.services.dockmon.loadbalancer.server.port=443" # Prod Router - "traefik.http.routers.dockmon.rule=Host(`dockmon.forust.xyz`)" - "traefik.http.routers.dockmon.entrypoints=websecure" - "traefik.http.routers.dockmon.middlewares=security-chain@file" - "traefik.http.routers.dockmon.service=dockmon" - "traefik.http.routers.dockmon.tls=true" # Local Router - "traefik.http.routers.dockmon-local.rule=Host(`dockmon.workstation.internal`)" - "traefik.http.routers.dockmon-local.entrypoints=websecure" - "traefik.http.routers.dockmon-local.middlewares=security-headers@file" - "traefik.http.routers.dockmon-local.tls=true" # Dev Router - "traefik.http.routers.dockmon-dev.rule=Host(`dockmon.gigaforust.internal`)" - "traefik.http.routers.dockmon-dev.entrypoints=websecure" - "traefik.http.routers.dockmon-dev.middlewares=security-chain@file" - "traefik.http.routers.dockmon-dev.tls=true" # Glance Metadata - glance.name=dockmon - glance.url=https://dockmon.forust.xyz/ - glance.description=Dockmon is a lightweight Docker container monitoring and management tool with a user-friendly web interface. networks: - proxy volumes: data: networks: proxy: external: true