blob: c26c89631596b51de48b0db44187f7715c51a778 [file] [log] [blame]
Filip Pytloun3a1e3d32017-02-23 15:02:54 +01001parameters:
Marek Celouddd1e6bc2017-03-22 16:18:09 +01002 _param:
Filip Pytloune5a6f982017-03-29 15:59:22 +02003 docker_image_gerrit: tcpcloud/gerrit:2.13.6
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}
Filip Pytlound93b64b2017-03-28 10:50:23 +020023 LDAP_ACCOUNTPATTERN: 'uid={username}'
Filip Pytloun4a55e1e2017-03-27 19:04:26 +020024 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}
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010028 WEBURL: ${_param:gerrit_public_host}
29 GERRIT_ADMIN_SSH_PUBLIC: ${_param:gerrit_admin_public_key}
30 GERRIT_ADMIN_PWD: ${_param:gerrit_admin_password}
31 GERRIT_ADMIN_EMAIL: ${_param:gerrit_admin_email}
32 restart:
33 condition: any
34 image: ${_param:docker_image_gerrit}
35 ports:
36 - 18083:8080
37 - 29417:29418
38 volume:
39 site:
40 type: bind
41 source: /srv/volumes/gerrit
42 destination: /var/gerrit/review_site