Public | Automated Build

Last pushed: 2 months ago
Short Description
A docker container which sync content of a volume with a git repository.
Full Description

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
Docker Pull Command
Owner
gici
Source Repository

Comments (0)