feat: checkmk service
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
services:
|
||||
checkmk:
|
||||
image: checkmk/check-mk-raw:2.3.0-latest
|
||||
container_name: checkmk
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "5000:5000" # UI
|
||||
- "6556:6556" # AGENT
|
||||
|
||||
volumes:
|
||||
- ./checkmk:/omd/sites
|
||||
|
||||
environment:
|
||||
CMK_SITE_ID: "cmk"
|
||||
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=traefik-proxy"
|
||||
|
||||
# Prod Router
|
||||
- "traefik.http.routers.checkmk.rule=Host(`checkmk.forust.xyz`)"
|
||||
- "traefik.http.routers.checkmk.entrypoints=websecure"
|
||||
- "traefik.http.routers.checkmk.tls=true"
|
||||
- "traefik.http.services.checkmk.loadbalancer.server.port=5000"
|
||||
|
||||
# Local Router
|
||||
- "traefik.http.routers.checkmk-local.rule=Host(`checkmk.workstation.internal`) || Host(`checkmk.internal`)"
|
||||
- "traefik.http.routers.checkmk-local.entrypoints=websecure"
|
||||
- "traefik.http.routers.checkmk-local.tls=true"
|
||||
|
||||
# Dev Router
|
||||
- "traefik.http.routers.checkmk-dev.rule=Host(`checkmk.gigaforust.internal`)"
|
||||
- "traefik.http.routers.checkmk-dev.entrypoints=websecure"
|
||||
- "traefik.http.routers.checkmk-dev.tls=true"
|
||||
|
||||
networks:
|
||||
- traefik-proxy
|
||||
|
||||
networks:
|
||||
traefik-proxy:
|
||||
external: true
|
||||
Reference in New Issue
Block a user