11 lines
480 B
YAML
11 lines
480 B
YAML
services:
|
|
git-puller:
|
|
image: git-puller
|
|
volumes:
|
|
- ./to-pull:/to-pull
|
|
environment:
|
|
PULL_LOCATION: "/to-pull" # the folder with the git repo to pull
|
|
PULL_INTERVAL: 10 # time in seconds between pulls (minimum is 5)
|
|
PULLER_UID: "1000" # the uid of the user that executes the 'git pull' command in the container (if set to 0, root will do it!)
|
|
GIT_OUTPUT: "0" # if this is 0, the git command's stdout will not be shown in 'docker logs'
|