Filip Pytloun | 3a1e3d3 | 2017-02-23 15:02:54 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | docker: |
| 3 | client: |
| 4 | service: |
| 5 | artifactory: |
| 6 | environment: |
| 7 | MYSQL_HOST: ${_param:cluster_vip_address} |
| 8 | MYSQL_USERNAME: artifactory |
| 9 | MYSQL_PASSWORD: ${_param:mysql_artifactory_password} |
| 10 | MYSQL_DATABASE: artifactory |
| 11 | restart: |
| 12 | condition: any |
| 13 | image: ${_param:docker_image_repository:cicd}/artifactory |
| 14 | ports: |
| 15 | - 18082:8081 |
| 16 | volume: |
| 17 | data: |
| 18 | type: bind |
| 19 | source: /srv/volumes/artifactory/data |
| 20 | destination: /var/opt/jfrog/artifactory/data |
| 21 | backup: |
| 22 | type: bind |
| 23 | source: /srv/volumes/artifactory/backup |
| 24 | destination: /var/opt/jfrog/artifactory/backup |
| 25 | etc: |
| 26 | type: bind |
| 27 | source: /srv/volumes/artifactory/etc |
| 28 | destination: /var/opt/jfrog/artifactory/etc |
| 29 | logs: |
| 30 | type: bind |
| 31 | source: /srv/volumes/artifactory/logs |
| 32 | destination: /var/opt/jfrog/artifactory/logs |
Alexander Evseev | bc6d36c | 2017-09-22 12:26:50 +0300 | [diff] [blame] | 33 | keys: |
| 34 | type: bind |
| 35 | source: /srv/volumes/artifactory/keys |
| 36 | destination: /var/opt/jfrog/artifactory/access/etc/keys |