From 6bca51278a6c104c20cf3d1fd734730482591731 Mon Sep 17 00:00:00 2001 From: Jim Nicholson Date: Fri, 26 Nov 2021 12:23:44 -0800 Subject: [PATCH] Add service configuration --- heimdall-service.yaml | 25 +++++++++++++++++++++++++ uptime-service.yaml | 21 +++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 heimdall-service.yaml create mode 100644 uptime-service.yaml diff --git a/heimdall-service.yaml b/heimdall-service.yaml new file mode 100644 index 0000000..88ed2cc --- /dev/null +++ b/heimdall-service.yaml @@ -0,0 +1,25 @@ +version: '3.3' + +services: + heimdall: + image: ghcr.io/linuxserver/heimdall + environment: + PUID: 1000 + PGID: 1000 + TZ: "America/Los_Angeles" + volumes: + - heimdall-volume:/config + networks: + - traefik-public + deploy: + labels: + traefik.enable: "true" + traefik.constraint-label: "traefik-public" + traefik.http.routers.heimdall-http.rule: "Host(`heimdall.home.thejimnicholson.com`)" + traefik.http.routers.heimdall-http.entrypoints: "http" + traefik.http.services.heimdall.loadbalancer.server.port: 80 +networks: + traefik-public: + external: true +volumes: + heimdall-volume: diff --git a/uptime-service.yaml b/uptime-service.yaml new file mode 100644 index 0000000..c605d8a --- /dev/null +++ b/uptime-service.yaml @@ -0,0 +1,21 @@ +version: '3.3' + +services: + uptime: + image: louislam/uptime-kuma:1 + volumes: + - uptime-volume:/config + networks: + - traefik-public + deploy: + labels: + traefik.enable: "true" + traefik.constraint-label: "traefik-public" + traefik.http.routers.uptime-http.rule: "Host(`uptime.home.thejimnicholson.com`)" + traefik.http.routers.uptime-http.entrypoints: "http" + traefik.http.services.uptime.loadbalancer.server.port: 3001 +networks: + traefik-public: + external: true +volumes: + uptime-volume: