Commit 18a34c18 authored by Dmitriy Safronov's avatar Dmitriy Safronov
Browse files

README.md

parent de7dd11d
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
FROM registry.cyberbrain.pw/docker/git-sync:latest

ENV GIT_SYNC_HTTP_METRICS=false \
    GIT_SYNC_ROOT='/tmp/git' \
ENV GIT_SYNC_ROOT='/tmp/git' \
    GIT_SYNC_DEST='sync' \
    GIT_SYNC_EXECHOOK_COMMAND='/rsync-sync' \
    GIT_SYNC_ADD_USER='true'
+11 −1
Original line number Diff line number Diff line
# Git Sync - Rsync Sync

Warning! Default excludes could change suddenly and with no reason)
Essentian bind mounts:
- your config dir as /sync

Assumed bind mounts:
- your rsync excludes file as /rsync-sync.excludes

Preset env vars:
- GIT_SYNC_ROOT='/tmp/git'
- GIT_SYNC_DEST='sync'
- GIT_SYNC_EXECHOOK_COMMAND='/rsync-sync'
- GIT_SYNC_ADD_USER='true'