blob: d33bdbb0eb1799cb8143164d9754a6a0f86754df [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 Pytloun3a1e3d32017-02-23 15:02:54 +01004 docker:
5 client:
6 service:
7 gerrit:
8 environment:
9 #GERRIT_INIT_ARGS: ""
10 DATABASE_TYPE: "mysql"
11 DB_PORT_3306_TCP_ADDR: ${_param:cluster_vip_address}
12 DB_ENV_MYSQL_USER: gerrit
13 DB_ENV_MYSQL_PASSWORD: ${_param:mysql_gerrit_password}
14 DB_ENV_MYSQL_DB: gerrit
15 AUTH_TYPE: ${_param:gerrit_auth_type}
16 WEBURL: ${_param:gerrit_public_host}
17 GERRIT_ADMIN_SSH_PUBLIC: ${_param:gerrit_admin_public_key}
18 GERRIT_ADMIN_PWD: ${_param:gerrit_admin_password}
19 GERRIT_ADMIN_EMAIL: ${_param:gerrit_admin_email}
20 restart:
21 condition: any
22 image: ${_param:docker_image_gerrit}
23 ports:
24 - 18083:8080
25 - 29417:29418
26 volume:
27 site:
28 type: bind
29 source: /srv/volumes/gerrit
30 destination: /var/gerrit/review_site