app-store/apps/changedetection/docker-compose.yml
Stavros 5c50b5f6e3
fix(changedetection): bump tipi version and remove env variable (#1616)
* fix(changedetection): remove chrome container 

Chrome container image is 1.17gb in size and quite heavy. Since its not required by changedetection it would be just a custom user config.

* fix(changedetection): bump version and remove env
2023-11-17 21:17:47 +01:00

48 lines
2.2 KiB
YAML

version: "3.7"
services:
changedetection:
image: ghcr.io/dgtlmoon/changedetection.io:0.45.7
container_name: changedetection
hostname: changedetection
volumes:
- ${APP_DATA_DIR}/data:/datastore
ports:
- ${APP_PORT}:5000
restart: unless-stopped
networks:
- tipi_main_network
labels:
# Main
traefik.enable: true
traefik.http.middlewares.changedetection-web-web-redirect.redirectscheme.scheme: https
traefik.http.services.changedetection-web.loadbalancer.server.port: 5000
# Web
traefik.http.routers.changedetection-web-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.changedetection-web-insecure.entrypoints: web
traefik.http.routers.changedetection-web-insecure.service: changedetection-web
traefik.http.routers.changedetection-web-insecure.middlewares: changedetection-web-web-redirect
# Websecure
traefik.http.routers.changedetection-web.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.changedetection-web.entrypoints: websecure
traefik.http.routers.changedetection-web.service: changedetection-web
traefik.http.routers.changedetection-web.tls.certresolver: myresolver
# Local domain
traefik.http.routers.changedetection-web-local-insecure.rule: Host(`changedetection-web.${LOCAL_DOMAIN}`)
traefik.http.routers.changedetection-web-local-insecure.entrypoints: web
traefik.http.routers.changedetection-web-local-insecure.service: changedetection-web
traefik.http.routers.changedetection-web-local-insecure.middlewares: changedetection-web-web-redirect
# Local domain secure
traefik.http.routers.changedetection-web-local.rule: Host(`changedetection-web.${LOCAL_DOMAIN}`)
traefik.http.routers.changedetection-web-local.entrypoints: websecure
traefik.http.routers.changedetection-web-local.service: changedetection-web
traefik.http.routers.changedetection-web-local.tls: true
# chnagedetection-chrome:
# hostname: chnagedetection-chrome
# image: browserless/chrome:latest
# restart: unless-stopped
# container_name: chnagedetection-chrome
# networks:
# - tipi_main_network