blob: d7f8626343a1963418a9761048010ca6eaa307f0 [file] [log] [blame]
Filip Pytloun3a1e3d32017-02-23 15:02:54 +01001parameters:
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