initial commit

This commit is contained in:
2023-12-24 18:54:49 +00:00
commit 34cca63376
31 changed files with 1112 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
# DOMAIN_ROOT is the root domain that this service will register as with Traefik
DOMAIN_ROOT=domain.tld
# USER_ID is the user id to run the service as. 0 for root
USER_ID=1000
# GROUP_ID is the group id to run the service as. 0 for root
GROUP_ID=1000

View File

@@ -0,0 +1,57 @@
version: '3.8'
services:
changedetection:
image: dgtlmoon/changedetection.io
container_name: changedetection
env_file:
- ../.env
volumes:
- changedetection_data:/datastore
environment:
- DOMAIN_ROOT=${DOMAIN_ROOT}
- PORT=5000
- PUID=${USER_ID}
- PGID=${GROUP_ID}
- PLAYWRIGHT_DRIVER_URL=ws://playwright-chrome:3000/
- BASE_URL="https://changedetection.${DOMAIN_ROOT}"
networks:
- home-proxy
labels:
- "traefik.enable=true"
- 'traefik.http.routers.changedetection.rule=Host(`changedetection.${DOMAIN_ROOT}`)'
- 'traefik.http.routers.changedetection.middlewares=authelia@docker'
- "traefik.http.services.changedetection.loadbalancer.server.port=5000"
restart: unless-stopped
playwright:
container_name: playwright
image: browserless/chrome
restart: unless-stopped
environment:
- DOMAIN_ROOT=${DOMAIN_ROOT}
networks:
- home-proxy
labels:
- "traefik.enable=true"
- 'traefik.http.routers.playwright.rule=Host(`playwright.${DOMAIN_ROOT}`)'
- 'traefik.http.routers.playwright.middlewares=authelia@docker'
- "traefik.http.services.playwright.loadbalancer.server.port=3000"
volumes:
changedetection_data:
external: true
networks:
home-proxy:
external: true