homelab/jafner-net/config/changedetection/docker-compose.yml

30 lines
940 B
YAML
Raw Normal View History

2023-07-02 19:55:27 -07:00
version: '3'
services:
changedetection:
2023-07-02 19:58:46 -07:00
image: ghcr.io/dgtlmoon/changedetection.io:latest
2023-07-02 19:55:27 -07:00
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
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