From 8a14d42e93aa1dd2c059110efe8c32246eb6a9c2 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Tue, 17 Oct 2023 11:04:52 -0700 Subject: [PATCH] #97 Init uptime-kuma on jafner.net --- homelab/fighter/config/uptime-kuma/.env | 1 + .../config/uptime-kuma/docker-compose.yml | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 homelab/fighter/config/uptime-kuma/.env create mode 100644 homelab/fighter/config/uptime-kuma/docker-compose.yml diff --git a/homelab/fighter/config/uptime-kuma/.env b/homelab/fighter/config/uptime-kuma/.env new file mode 100644 index 00000000..0a2b41f1 --- /dev/null +++ b/homelab/fighter/config/uptime-kuma/.env @@ -0,0 +1 @@ +DOCKER_DATA=/home/admin/data/uptime-kuma diff --git a/homelab/fighter/config/uptime-kuma/docker-compose.yml b/homelab/fighter/config/uptime-kuma/docker-compose.yml new file mode 100644 index 00000000..fd04f5d9 --- /dev/null +++ b/homelab/fighter/config/uptime-kuma/docker-compose.yml @@ -0,0 +1,17 @@ +version: '3.3' +services: + uptime-kuma: + image: louislam/uptime-kuma:1 + container_name: uptime-kuma_uptime-kuma + restart: "no" + volumes: + - $DOCKER_DATA:/app/data + - /var/run/docker.sock:/var/run/docker.sock + networks: + - web + labels: + - traefik.http.routers.uptime-kuma.rule=Host(`uptime.jafner.net`) + - traefik.http.routers.uptime-kuma.tls.certresolver=lets-encrypt +networks: + web: + external: true