From e02d84e58fd7af0ba4e3fdd48a8c7bc74cd80f49 Mon Sep 17 00:00:00 2001 From: Joey Hafner Date: Mon, 18 Sep 2023 12:35:58 -0700 Subject: [PATCH] Set up uptime kuma --- jafner-tools/config/uptime-kuma/.env | 1 + .../config/uptime-kuma/docker-compose.yml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 jafner-tools/config/uptime-kuma/.env create mode 100644 jafner-tools/config/uptime-kuma/docker-compose.yml diff --git a/jafner-tools/config/uptime-kuma/.env b/jafner-tools/config/uptime-kuma/.env new file mode 100644 index 0000000..0a2b41f --- /dev/null +++ b/jafner-tools/config/uptime-kuma/.env @@ -0,0 +1 @@ +DOCKER_DATA=/home/admin/data/uptime-kuma diff --git a/jafner-tools/config/uptime-kuma/docker-compose.yml b/jafner-tools/config/uptime-kuma/docker-compose.yml new file mode 100644 index 0000000..6ead9fd --- /dev/null +++ b/jafner-tools/config/uptime-kuma/docker-compose.yml @@ -0,0 +1,16 @@ +version: '3.3' +services: + uptime-kuma: + image: louislam/uptime-kuma + container_name: uptime-kuma_uptime-kuma + restart: "no" + volumes: + - $DOCKER_DATA:/app/data + networks: + - web + labels: + - traefik.http.routers.uptime-kuma.rule=Host(`uptime.jafner.tools`) + - traefik.http.routers.uptime-kuma.tls.certresolver=lets-encrypt +networks: + web: + external: true