Commit 5477ce8c authored by Xu Wang's avatar Xu Wang

change gitlab.med to code

parent 25a78a83
......@@ -27,8 +27,8 @@ $ make build
$ make up follow
...
producer_1 | Initialized empty Git repository in /data/.git/
producer_1 | Producer: update /data from git@gitlab.med.stanford.edu:xuwang/docker-examples.git
consumer_1 | Consumer: commit 87e2810bf5dcbfc3f3a5800e9d7c08ec9f97c153 Author: Xu Wang...
producer_1 | Producer: update /data from git@code.stanford.edu:xuwang/docker-git-sync.git
consumer_1 | Consumer: commit 25a78a835e6dfc6e963650b9d3ed577a028e1896 Author: Xu Wang <xuwang@gmail.com> Date: Sun Apr 30 19:35:00 2017 -0700 docker example: sync git repo in container
...
```
......
......@@ -2,7 +2,7 @@
DEPLOY_KEY=/keys/docker-examples
# git repo to be pulled
REPO=git@gitlab.med.stanford.edu:xuwang/docker-examples.git
REPO=git@code.stanford.edu:xuwang/docker-git-sync.git
# data path
DATA=/data
......
#!/bin/sh
# content git repo
REPO=${REPO:-"git@gitlab.med.stanford.edu:xuwang/docker-examples.git"}
REPO=${REPO:-"git@code.stanford.edu:xuwang/docker-git-sync.git"}
# destination dir
DATA=${DATA:-/data}
# git repo deploy key
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment