Simple docker container which keeps a working copy of a repository up to date
667
Simple docker container which keeps a working copy of a repository up to date
To run it:
docker run --name svn-sync -d \
-v svn:/svn \
-e SYNC_USER=username \
-e SYNC_PASS=password \
-e SYNC_URL=https://svnrepo.com/path/to/repo/ \
lead4good/svn-sync
The working copy will be checked out to the volume at '/svn' and thereafter synced every $SYNC_INT seconds (default =30). To change the volume path use the environment variable $SYNC_DIR. Be sure that during first setup the volume you pass to the container is empty or the environment variable $ALLOW_OVERWRITE is set to 'true', otherwise the repo won't be checked out.
Content type
Image
Digest
Size
6.5 MB
Last updated
over 8 years ago
docker pull lead4good/svn-sync