Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ldap:
- build: .
- dockerfile: ./ldap/Dockerfile
- container_name: ldap
- volumes:
- - /home/vagrant/ldap-pink:/data
- ports:
- - "389:389" # ldap
- - "636:636" # ldap
- tuleap:
- build: .
- dockerfile: ./tuleap/Dockerfile
- container_name: tuleap
- volumes:
- - /home/vagrant/tuleap-pink:/data
- ports:
- - "22022:22" # ssh
- - "80:80" # http
- - "443:443" # https
- environment:
- - VIRTUAL_HOST=192.168.1.121
- gerritdb:
- build: .
- dockerfile: ./gerritdb/Dockerfile
- container_name: gerritdb
- volumes:
- - /etc/localtime:/etc/localtime:ro
- - /home/vagrant/gerritdb-pink:/var/lib/postgresql/data
- ports:
- - 5432:5432
- environment:
- - PGDATA=/var/lib/postgresql/data/pgdata # postgresql
- - POSTGRES_USER=gerrit2 # postgresql
- - POSTGRES_PASSWORD=.............. # postgresql
- - POSTGRES_DB=reviewdb # postgresql
- gerrit:
- build: .
- dockerfile: ./gerrit/Dockerfile
- container_name: gerrit
- volumes:
- - /home/vagrant/gerrit-pink:/data
- - /etc/localtime:/etc/localtime:ro
- links:
- - gerritdb:db
- ports: # HOST:CONTAINER
- - "8084:8084" # http
- - "29418:29418" # ssh
- environment:
- # SERVER_LDAP 192.168.1.120
- # SERVER_TULEAP 192.168.1.121
- # SERVER_GERRIT 192.168.1.122
- - GERRIT_BASEPATH=git # gerrit.config [gerrit]
- - WEBURL=http://192.168.1.122:8084 # gerrit.config [gerrit]
- - DATABASE_TYPE=postgresql # gerrit.config [database]
- - AUTH_TYPE=LDAP # gerrit.config [auth]
- - LDAP_SERVER=192.168.1.120 # gerrit.config [auth]
- - LDAP_ACCOUNTBASE=ou=people,dc=tuleap,dc=local # gerrit.config [auth]
- - LDAP_GROUPBASE=ou=groups,dc=tuleap,dc=local # gerrit.config [auth]
- - LDAP_ACCOUNTFULLNAME=cn # gerrit.config [auth]
- - SMTP_SERVER=localhost # gerrit.config [sendemail]
- - SSHD_LISTENADDRESS=*:29418 # gerrit.config [sshd]
- - HTTPD_LISTENURL=http://*:8084/ # gerrit.config [httpd]
- - CACHE_DIRECTORY=cache # gerrit.config [cache]
- - REMOTE_NAME=192.168.1.121 # replication.config
- - REMOTE_NAME_URL=gitolite@192.168.1.121:${name}.git # replication.config
- - REMOTE_NAME_PUSH=+refs/heads/*:refs/heads/* # replication.config
- - REMOTE_NAME_PUSH=+refs/tags/*:refs/tags/* # replication.config
- - REMOTE_NAME_AUTHGROUP=192.168.1.121-replication # replication.config
- - DB_PORT=5432 # gerritdb. config postgresql
- - DB_ENV_USER=..... # gerritdb. config postgresql
- - DB_ENV_PASS=..... # gerritdb. config postgresql
- jenkins:
- build: .
- dockerfile: ./jenkins/Dockerfile
- container_name: jenkins
- volumes:
- - /home/vagrant/jenkins-pink:/root/.jenkins
- - /etc/localtime:/etc/localtime:ro
- ports:
- - "8085:8085"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement