initial commit
This commit is contained in:
8
changedetection/.env.example
Normal file
8
changedetection/.env.example
Normal 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
|
57
changedetection/docker-compose.yml
Executable file
57
changedetection/docker-compose.yml
Executable 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
|
Reference in New Issue
Block a user