Files
custom-html/compose.git-pull.yml
T
renovate-bot 173f7da22c
continuous-integration/drone/pr Build is failing
chore(deps): pin dependencies
2026-09-06 22:04:21 +00:00

27 lines
691 B
YAML

version: "3.8"
services:
git:
environment:
- GIT_REPO_URL
image: alpine/git:v2.54.0@sha256:6f3b5029566da8e90b24945933dcd806be866b64b1e706f51828bf84faccf21b
entrypoint: /docker-entrypoint.sh
volumes:
- content:/git
configs:
- source: entrypoint_conf
target: /docker-entrypoint.sh
mode: 0555
deploy:
mode: replicated
replicas: 0
labels:
- "swarm.cronjob.enable=true"
- "swarm.cronjob.schedule=${CRON_SCHEDULE:-*/5 * * * *}"
restart_policy:
condition: none
configs:
entrypoint_conf:
name: ${STACK_NAME}_entrypoint_conf_${ENTRYPOINT_CONF_VERSION}
file: entrypoint.git-pull.sh