Add CI/CD infrastructure
Change-Id: Id15634c2096394f7de4533c8466e0e0c2e66f8ed
diff --git a/docker/swarm/service/artifactory.yml b/docker/swarm/service/artifactory.yml
new file mode 100644
index 0000000..d7f8626
--- /dev/null
+++ b/docker/swarm/service/artifactory.yml
@@ -0,0 +1,32 @@
+parameters:
+ docker:
+ client:
+ service:
+ artifactory:
+ environment:
+ MYSQL_HOST: ${_param:cluster_vip_address}
+ MYSQL_USERNAME: artifactory
+ MYSQL_PASSWORD: ${_param:mysql_artifactory_password}
+ MYSQL_DATABASE: artifactory
+ restart:
+ condition: any
+ image: ${_param:docker_image_repository:cicd}/artifactory
+ ports:
+ - 18082:8081
+ volume:
+ data:
+ type: bind
+ source: /srv/volumes/artifactory/data
+ destination: /var/opt/jfrog/artifactory/data
+ backup:
+ type: bind
+ source: /srv/volumes/artifactory/backup
+ destination: /var/opt/jfrog/artifactory/backup
+ etc:
+ type: bind
+ source: /srv/volumes/artifactory/etc
+ destination: /var/opt/jfrog/artifactory/etc
+ logs:
+ type: bind
+ source: /srv/volumes/artifactory/logs
+ destination: /var/opt/jfrog/artifactory/logs