add ssh bind
1 parent 6146fb4 commit 606a21a0e133a6f5f010050af82edd9b6b503cf7
@Pascal Gollor Pascal Gollor authored on 27 May 2017
Showing 3 changed files
View
6
README.md
This docker container of [gitbucket](https://github.com/gitbucket/gitbucket.git) is under testing!!!
 
## usage
Please use the configuration file `gitbucket.conf` for your personal changes.
There are two configs available:
There are three configs available:
- `GITBUCKET_BIND`: ip address to bind to
- `GITBUCKET_PORT`: port to bind to
- `GITBUCKET_WEB_PORT`: web port to bind to
- `GITBUCKET_SSH_PORT`: ssh port to bind to
View
4
docker-compose.yml
restart: always
volumes:
- ./home:/srv/gitbucket/home
ports:
- "${GITBUCKET_BIND:-127.0.0.1}:${GITBUCKET_PORT:-8080}:8080"
- "${GITBUCKET_BIND:-127.0.0.1}:${GITBUCKET_WEB_PORT:-8080}:8080"
- "${GITBUCKET_BIND:-127.0.0.1}:${GITBUCKET_SSH_PORT:-29418}:29418"
View
gitbucket.conf