31 lines
891 B
YAML
31 lines
891 B
YAML
services:
|
|
dockmon:
|
|
image: darthnorse/dockmon:latest
|
|
container_name: dockmon
|
|
restart: unless-stopped
|
|
ports:
|
|
- 8000:443
|
|
environment:
|
|
- TZ=Europe/Bratislava
|
|
volumes:
|
|
- ./volumes/dockmon:/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
|
|
networks:
|
|
- traefik-proxy
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.docker.network=traefik-proxy"
|
|
- glance.name=dockmon
|
|
# - glance.icon=sh:dockmon
|
|
- glance.url=https://dockmon.${HOST}/
|
|
- glance.description=Dockmon is a lightweight Docker container monitoring and management tool with a user-friendly web interface.
|
|
|
|
networks:
|
|
traefik-proxy:
|
|
external: true
|