Sign inSign up

hugoseabra19/docker-git-sync

By hugoseabra19

Updated about 8 years ago

A docker image allowing you to sync a folder with a git repository.

Image
0

250

hugoseabra19/docker-git-sync repository overview

Forked from https://hub.docker.com/r/bringnow/git-sync

The difference is that you can be free of using SSH keys directory and /sync-dir to anywhere.

Added docker-compose.yml

version: '3.5'

services:

  git-sync-<repo name>:
    restart: unless-stopped
    container_name: git-<repo name>
    image: hugoseabra19/docker-git-sync
    volumes:
      - ./ssh:/root/.ssh
      - ./repos:/sync-dir
    environment:
      - GIT_REPO_DOMAIN=
      - GIT_REPO_URL=
      - GIT_REPO_DIR_NAME=<repo name>
      - GIT_REPO_BRANCH=
      - GIT_USER_EMAIL=
      - GIT_USER_NAME=
      - OVERWRITE_LOCAL=false

Tag summary

Content type

Image

Digest

Size

98 MB

Last updated

about 8 years ago

docker pull hugoseabra19/docker-git-sync