From 2405b8c8a4b1ea158f32ead9135f844bf29e0258 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 --- fighter/config/uptime-kuma/.env | 1 + fighter/config/uptime-kuma/docker-compose.yml | 17 +++++++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 fighter/config/uptime-kuma/.env create mode 100644 fighter/config/uptime-kuma/docker-compose.yml diff --git a/fighter/config/uptime-kuma/.env b/fighter/config/uptime-kuma/.env new file mode 100644 index 0000000..0a2b41f --- /dev/null +++ b/fighter/config/uptime-kuma/.env @@ -0,0 +1 @@ +DOCKER_DATA=/home/admin/data/uptime-kuma diff --git a/fighter/config/uptime-kuma/docker-compose.yml b/fighter/config/uptime-kuma/docker-compose.yml new file mode 100644 index 0000000..fd04f5d --- /dev/null +++ b/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