Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | docker: |
| 3 | client: |
| 4 | service: |
| 5 | gerrit: |
| 6 | environment: |
| 7 | #GERRIT_INIT_ARGS: "" |
| 8 | DATABASE_TYPE: "mysql" |
| 9 | DB_PORT_3306_TCP_ADDR: ${_param:cluster_vip_address} |
| 10 | DB_ENV_MYSQL_USER: gerrit |
| 11 | DB_ENV_MYSQL_PASSWORD: ${_param:mysql_gerrit_password} |
| 12 | DB_ENV_MYSQL_DB: gerrit |
| 13 | AUTH_TYPE: ${_param:gerrit_auth_type} |
| 14 | WEBURL: ${_param:gerrit_public_host} |
| 15 | GERRIT_ADMIN_SSH_PUBLIC: ${_param:gerrit_admin_public_key} |
| 16 | GERRIT_ADMIN_PWD: ${_param:gerrit_admin_password} |
| 17 | GERRIT_ADMIN_EMAIL: ${_param:gerrit_admin_email} |
| 18 | restart: |
| 19 | condition: any |
| 20 | image: ${_param:docker_image_gerrit} |
| 21 | ports: |
| 22 | - 18083:8080 |
| 23 | - 29417:29418 |
| 24 | volume: |
| 25 | site: |
| 26 | type: bind |
| 27 | source: /srv/volumes/gerrit |
| 28 | destination: /var/gerrit/review_site |