different bind address for web and ssh
1 parent 6c15e3f commit 342739dc240888df8325557422de081ea4f0afcc
@Pascal Gollor Pascal Gollor authored on 23 Sep 2017
Showing 2 changed files
View
4
docker-compose.yml
- ./data/conf/gitbucket/gitbucket.conf:/srv/gitbucket/gitbucket.conf
tmpfs:
- /tmp
ports:
- "${GITBUCKET_BIND:-127.0.0.1}:${GITBUCKET_WEB_PORT:-8080}:8080"
- "${GITBUCKET_BIND:-127.0.0.1}:${GITBUCKET_SSH_PORT:-29418}:29418"
- "${GITBUCKET_WEB_BIND:-127.0.0.1}:${GITBUCKET_WEB_PORT:-8080}:8080"
- "${GITBUCKET_SSH_BIND:-127.0.0.1}:${GITBUCKET_SSH_PORT:-29418}:29418"
networks:
gitbucket-network:
ipv4_address: 172.22.2.250
aliases:
View
10
gitbucket.conf
## gitbucket configuration
# host to bind the ports below to
GITBUCKET_BIND=127.0.0.1
# address to bind the the web port to
GITBUCKET_WEB_BIND=127.0.0.1
 
# address ti bind the ssh port to
GITBUCKET_SSH_BIND=127.0.0.1
 
# web port
GITBUCKET_WEB_PORT=8080