Initial commit
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
GeorgeWebberley 2026-02-01 08:26:15 +01:00
commit 6ec009dac8
2 changed files with 38 additions and 0 deletions

20
.woodpecker.yaml Normal file
View file

@ -0,0 +1,20 @@
variables:
- &app_name "change-detection"
when:
event: [push]
branch: main
steps:
deploy:
image: docker:28-cli
privileged: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /home/george:/home/george
environment:
APP_NAME: *app_name
commands:
- mkdir -p /home/george/$APP_NAME
- cp -r . /home/george/$APP_NAME/
- docker compose -p $APP_NAME -f /home/george/$APP_NAME/docker-compose.yaml up -d --pull always --force-recreate

18
docker-compose.yaml Normal file
View file

@ -0,0 +1,18 @@
services:
changedetection:
image: lscr.io/linuxserver/changedetection.io:latest
container_name: changedetection
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Copenhagen
- BASE_URL=https://alerts.georgew.dev
volumes:
- ./changedetection_config:/config
networks:
- web_traffic
restart: unless-stopped
networks:
web_traffic:
external: true