Something went wrong. Try again.
Pull-based GitOps-style Docker Compose deployer: polls a (private) Git repo, detects changed stacks and reconciles only the affected
Something went wrong. Try again.
554 B · 17 lines
at main
123456789101112131415161718[Unit]Description=compose-sync - Sync and deploy Docker Compose stacks from gitAfter=network-online.target docker.serviceWants=network-online.target
[Service]Type=oneshot# Replace 'youruser' with the actual user that should run compose-syncUser=youruser# Path to compose-sync binary (adjust if installed elsewhere)# If config.yml is not in the default location, add: -config /path/to/config.ymlExecStart=/usr/local/bin/compose-syncEnvironment="HOME=/home/youruser"WorkingDirectory=/home/youruserStandardOutput=journalStandardError=journal