move the watcher to a app file and set up docker file and docker compose file

This commit is contained in:
rainyy21
2026-11-09 13:39:25 -05:00
parent e12e48aac0
commit 287ea4b90c
3 changed files with 30 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
services:
gitops-watcher:
build: .
container_name: gitops-watcher
restart: unless-stopped
environment:
CHECK_INTERVAL: 30
STACKS_DIR: /opt/gitops
CONFIG_PATH: /config/repos.yml
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./repos.yml/:config/repos.yml:ro
- /opt/gitops:/opt/gitops