blob: 411b22ea2b81fd0ccab1a342049f191d206ccccd [file] [log] [blame]
Filip Pytloun7d6144a2017-04-13 13:36:45 +02001parameters:
2 docker:
3 client:
4 stack:
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 service:
12 artifactory:
13 deploy:
14 restart_policy:
15 condition: any
rvyalov5b9a9e12017-07-04 15:15:35 +030016 image: ${_param:docker_image_repository:cicd}
Filip Pytloun7d6144a2017-04-13 13:36:45 +020017 ports:
18 - 18082:8081
19 volumes:
20 - /srv/volumes/artifactory/data:/var/opt/jfrog/artifactory/data
21 - /srv/volumes/artifactory/backup:/var/opt/jfrog/artifactory/backup
22 - /srv/volumes/artifactory/etc:/var/opt/jfrog/artifactory/etc
23 - /srv/volumes/artifactory/logs:/var/opt/jfrog/artifactory/logs