redid all networks & added cloudflare tunnel

This commit is contained in:
2023-12-26 22:40:54 +00:00
parent 67af9cd3b0
commit e395b238ff
20 changed files with 171 additions and 183 deletions

View File

@@ -5,9 +5,6 @@ services:
image: dgtlmoon/changedetection.io
container_name: changedetection
env_file:
- ../.env
volumes:
- changedetection_data:/datastore
@@ -19,9 +16,6 @@ services:
- 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}`)'
@@ -30,6 +24,9 @@ services:
restart: unless-stopped
networks:
- web
playwright:
container_name: playwright
image: browserless/chrome
@@ -38,20 +35,19 @@ services:
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"
networks:
- web
networks:
web:
external: true
volumes:
changedetection_data:
external: true
networks:
home-proxy:
external: true