Advertisement
Guest User

Untitled

a guest
May 3rd, 2016
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.03 KB | None | 0 0
  1. ldap:
  2. build: .
  3. dockerfile: ./ldap/Dockerfile
  4. container_name: ldap
  5. volumes:
  6. - /home/vagrant/ldap-pink:/data
  7. ports:
  8. - "389:389" # ldap
  9. - "636:636" # ldap
  10.  
  11. tuleap:
  12. build: .
  13. dockerfile: ./tuleap/Dockerfile
  14. container_name: tuleap
  15. volumes:
  16. - /home/vagrant/tuleap-pink:/data
  17. ports:
  18. - "22022:22" # ssh
  19. - "80:80" # http
  20. - "443:443" # https
  21. environment:
  22. - VIRTUAL_HOST=192.168.1.121
  23.  
  24. gerritdb:
  25. build: .
  26. dockerfile: ./gerritdb/Dockerfile
  27. container_name: gerritdb
  28. volumes:
  29. - /etc/localtime:/etc/localtime:ro
  30. - /home/vagrant/gerritdb-pink:/var/lib/postgresql/data
  31. ports:
  32. - 5432:5432
  33. environment:
  34. - PGDATA=/var/lib/postgresql/data/pgdata # postgresql
  35. - POSTGRES_USER=gerrit2 # postgresql
  36. - POSTGRES_PASSWORD=.............. # postgresql
  37. - POSTGRES_DB=reviewdb # postgresql
  38.  
  39. gerrit:
  40. build: .
  41. dockerfile: ./gerrit/Dockerfile
  42. container_name: gerrit
  43. volumes:
  44. - /home/vagrant/gerrit-pink:/data
  45. - /etc/localtime:/etc/localtime:ro
  46. links:
  47. - gerritdb:db
  48. ports: # HOST:CONTAINER
  49. - "8084:8084" # http
  50. - "29418:29418" # ssh
  51. environment:
  52. # SERVER_LDAP 192.168.1.120
  53. # SERVER_TULEAP 192.168.1.121
  54. # SERVER_GERRIT 192.168.1.122
  55.  
  56. - GERRIT_BASEPATH=git # gerrit.config [gerrit]
  57. - WEBURL=http://192.168.1.122:8084 # gerrit.config [gerrit]
  58. - DATABASE_TYPE=postgresql # gerrit.config [database]
  59. - AUTH_TYPE=LDAP # gerrit.config [auth]
  60. - LDAP_SERVER=192.168.1.120 # gerrit.config [auth]
  61. - LDAP_ACCOUNTBASE=ou=people,dc=tuleap,dc=local # gerrit.config [auth]
  62. - LDAP_GROUPBASE=ou=groups,dc=tuleap,dc=local # gerrit.config [auth]
  63. - LDAP_ACCOUNTFULLNAME=cn # gerrit.config [auth]
  64. - SMTP_SERVER=localhost # gerrit.config [sendemail]
  65. - SSHD_LISTENADDRESS=*:29418 # gerrit.config [sshd]
  66. - HTTPD_LISTENURL=http://*:8084/ # gerrit.config [httpd]
  67. - CACHE_DIRECTORY=cache # gerrit.config [cache]
  68.  
  69. - REMOTE_NAME=192.168.1.121 # replication.config
  70. - REMOTE_NAME_URL=gitolite@192.168.1.121:${name}.git # replication.config
  71. - REMOTE_NAME_PUSH=+refs/heads/*:refs/heads/* # replication.config
  72. - REMOTE_NAME_PUSH=+refs/tags/*:refs/tags/* # replication.config
  73. - REMOTE_NAME_AUTHGROUP=192.168.1.121-replication # replication.config
  74.  
  75. - DB_PORT=5432 # gerritdb. config postgresql
  76. - DB_ENV_USER=..... # gerritdb. config postgresql
  77. - DB_ENV_PASS=..... # gerritdb. config postgresql
  78.  
  79. jenkins:
  80. build: .
  81. dockerfile: ./jenkins/Dockerfile
  82. container_name: jenkins
  83. volumes:
  84. - /home/vagrant/jenkins-pink:/root/.jenkins
  85. - /etc/localtime:/etc/localtime:ro
  86. ports:
  87. - "8085:8085"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement