Sign inSign up

gici/git-sync

By gici

Updated over 9 years ago

A docker container which sync content of a volume with a git repository.

Image
0

1.7K

gici/git-sync repository overview

git-sync

Usage

docker volume create -d local --name website_sources

docker run --name git-sync -d  \
    -e GIT_SYNC_REPO=https://github.com/devsenexx/git-sync \
    -e GIT_SYNC_DEST=/git \
    -e GIT_SYNC_BRANCH=master \
    -e GIT_SYNC_REV=FETCH_HEAD \
    -e GIT_SYNC_WAIT=10 \
    -v website_sources:/git gici/git-sync

docker run --name nginx \
    -d -p 8080:80 -v website_sources:/usr/share/nginx/html nginx

Tag summary

Content type

Image

Digest

Size

13.9 MB

Last updated

over 9 years ago

docker pull gici/git-sync