Init ChangeDetection

This commit is contained in:
Joey Hafner 2023-07-02 19:55:27 -07:00
parent 150d76dc6d
commit 7d8a0a8c64
3 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1 @@
DOCKER_DATA=/mnt/nas/AppData/changedetection

View File

@ -0,0 +1 @@
BASE_URL=https://changedetection.jafner.net

View File

@ -0,0 +1,31 @@
version: '3'
services:
changedetection:
image: ghcr.io/dgtlmoon/changedetection:latest
container_name: changedetection_changedetection
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
restart: "no"
networks:
- web
volumes:
- ${DOCKER_DATA}/changedetection:/datastore
env_file:
- changedetection.env
- changedetection_secrets.env
labels:
- traefik.http.routers.changedetection.rule=Host(`changedetection.jafner.net`)
- traefik.http.routers.changedetection.tls.certresolver=lets-encrypt
- traefik.http.routers.changedetection.tls.options=tls12@file
- traefik.http.routers.changedetection.middlewares=securityheaders@file
- traefik.http.services.changedetection.loadbalancer.server.port=5000
networks:
web:
external: true