diff --git a/traefik/config/uptime-kuma.yml b/traefik/config/uptime-kuma.yml new file mode 100644 index 0000000..629a57b --- /dev/null +++ b/traefik/config/uptime-kuma.yml @@ -0,0 +1,15 @@ +# /services/traefik/config/uptime-kuma.yml + +http: + routers: + status: + entryPoints: + - https + rule: Host(`status.eliasfink.de`) + service: uptime-kuma + + services: + uptime-kuma: + loadBalancer: + servers: + - url: http://uptime-kuma:3001 \ No newline at end of file diff --git a/uptime-kuma/compose.yml b/uptime-kuma/compose.yml new file mode 100644 index 0000000..99ce8a7 --- /dev/null +++ b/uptime-kuma/compose.yml @@ -0,0 +1,16 @@ +# /services/uptime-kuma/compose.yml + +services: + uptime-kuma: + image: louislam/uptime-kuma:1 + container_name: uptime-kuma + restart: always + networks: + - traefik + volumes: + - ./data:/app/data + - /var/run/docker.sock:/var/run/docker.sock + +networks: + traefik: + external: true \ No newline at end of file