released to the swarm

This commit is contained in:
2025-11-08 23:45:01 +00:00
parent 21900d13b7
commit 1772646148
3 changed files with 0 additions and 9 deletions

View File

@@ -23,9 +23,6 @@ services:
start_period: 60s start_period: 60s
deploy: deploy:
replicas: 1 replicas: 1
placement:
constraints:
- node.hostname == p0
restart_policy: restart_policy:
condition: on-failure condition: on-failure
delay: 5s delay: 5s

View File

@@ -11,9 +11,6 @@ services:
deploy: deploy:
mode: replicated mode: replicated
replicas: 1 replicas: 1
placement:
constraints:
- node.hostname == p0
labels: labels:
- "traefik.enable=true" - "traefik.enable=true"
- "traefik.swarm.network=homelab" - "traefik.swarm.network=homelab"

View File

@@ -6,9 +6,6 @@ services:
sh -c " apk add --no-cache rsync && echo '0 2 * * * rsync -av --no-perms --no-owner --no-group --exclude-from=/excludes.txt /source/ /destination/ && echo \"Sync completed at $$(date)\"' | crontab - && echo 'Backup sync started. Daily sync at 2 AM.' && crond -f -l 2" sh -c " apk add --no-cache rsync && echo '0 2 * * * rsync -av --no-perms --no-owner --no-group --exclude-from=/excludes.txt /source/ /destination/ && echo \"Sync completed at $$(date)\"' | crontab - && echo 'Backup sync started. Daily sync at 2 AM.' && crond -f -l 2"
deploy: deploy:
replicas: 1 replicas: 1
placement:
constraints:
- node.hostname == p0
restart_policy: restart_policy:
condition: on-failure condition: on-failure
delay: 30s delay: 30s