Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 1 | parameters: |
2 | docker: | ||||
3 | client: | ||||
4 | service: | ||||
5 | mysql: | ||||
6 | environment: | ||||
7 | MYSQL_USER: gerrit | ||||
8 | MYSQL_PASSWORD: ${_param:mysql_gerrit_password} | ||||
9 | MYSQL_DATABASE: gerrit | ||||
10 | MYSQL_ROOT_PASSWORD: ${_param:mysql_admin_password} | ||||
11 | restart: | ||||
12 | condition: any | ||||
13 | image: "mysql:5.6" | ||||
14 | ports: | ||||
15 | - 13306:3306 | ||||
16 | volume: | ||||
17 | data: | ||||
18 | type: bind | ||||
19 | source: /srv/volumes/mysql | ||||
20 | destination: /var/lib/mysql |