45ce789f58
- Remove TZ envs - +- unified compose structure - Minify where possible - Remove <service>.internal routers - Remove service specifications where possible Affected services: - adguardhome - authentik - cfddns - checkmk - dockmon - downtify - gitea - glance - headscale - homepages - metube - nextcloud - penpot - portainer - termix - traefik - uptime-kuma TODO: Move data from directory to volumes
48 lines
1.8 KiB
YAML
48 lines
1.8 KiB
YAML
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
|
|
|
|
networks:
|
|
proxy:
|
|
external: true
|