blob: 36e4faa8181cd31d76d11bb38121372c51c3f86e [file] [log] [blame]
Filip Pytloun3a1e3d32017-02-23 15:02:54 +01001parameters:
Marek Celouddd1e6bc2017-03-22 16:18:09 +01002 _param:
3 docker_image_gerrit: tcpcloud/gerrit:2.12.7
Filip Pytloun4a55e1e2017-03-27 19:04:26 +02004 gerrit_ldap_server: ""
5 gerrit_ldap_bind_user: ""
6 gerrit_ldap_bind_password: ""
7 gerrit_ldap_account_base: ""
8 gerrit_ldap_group_base: ""
9
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010010 docker:
11 client:
12 service:
13 gerrit:
14 environment:
15 #GERRIT_INIT_ARGS: ""
16 DATABASE_TYPE: "mysql"
17 DB_PORT_3306_TCP_ADDR: ${_param:cluster_vip_address}
18 DB_ENV_MYSQL_USER: gerrit
19 DB_ENV_MYSQL_PASSWORD: ${_param:mysql_gerrit_password}
20 DB_ENV_MYSQL_DB: gerrit
21 AUTH_TYPE: ${_param:gerrit_auth_type}
Filip Pytloun4a55e1e2017-03-27 19:04:26 +020022 LDAP_SERVER: ${_param:gerrit_ldap_server}
23 LDAP_ACCOUNTPATTERN: '(|(uid={username})(cn={username}))'
24 LDAP_ACCOUNTBASE: ${_param:gerrit_ldap_account_base}
25 LDAP_GROUPBASE: ${_param:gerrit_ldap_group_base}
26 LDAP_USERNAME: ${_param:gerrit_ldap_bind_user}
27 LDAP_PASSWORD: ${_param:gerrit_ldap_bind_password}
28 CAPABILITY_ADMINISTRATESERVER: admin
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010029 WEBURL: ${_param:gerrit_public_host}
30 GERRIT_ADMIN_SSH_PUBLIC: ${_param:gerrit_admin_public_key}
31 GERRIT_ADMIN_PWD: ${_param:gerrit_admin_password}
32 GERRIT_ADMIN_EMAIL: ${_param:gerrit_admin_email}
33 restart:
34 condition: any
35 image: ${_param:docker_image_gerrit}
36 ports:
37 - 18083:8080
38 - 29417:29418
39 volume:
40 site:
41 type: bind
42 source: /srv/volumes/gerrit
43 destination: /var/gerrit/review_site