22 lines
741 B
Markdown
22 lines
741 B
Markdown
# git-dual-sync
|
|
|
|
A simple docker image that syncs one git remote to another.
|
|
|
|
## Environment Variables
|
|
|
|
| Variable | Description |
|
|
| -------------- | ---------------------------------- |
|
|
| `GIT_ORIGIN` | The origin remote to sync to |
|
|
| `GIT_UPSTREAM` | The upstream remote to sync from |
|
|
| `GIT_BRANCH` | The branch to sync |
|
|
| `GIT_NAME` | The name to use for the commit |
|
|
| `GIT_EMAIL` | The email to use for the commit |
|
|
| `GIT_USER` | The username to use for the commit |
|
|
| `GIT_PASS` | The password to use for the commit |
|
|
|
|
## Volumes
|
|
|
|
| Volume | Description |
|
|
| ------ | -------------------------- |
|
|
| `/git` | The git repository to sync |
|