blob: 90f16d910ec920759bc7dd68eccd815d138c6b9f [file] [log] [blame]
Dmitry Ukov591942b2017-07-10 13:16:04 +04001parameters:
2 _param:
3 docker_decapod_fe_replicas: 3
4 decapod_version: latest
5 docker_image_admin: docker-prod-local.artifactory.mirantis.com/mirantis/ceph/decapod/admin:${_param:decapod_version}
6 docker_image_db: docker-prod-local.artifactory.mirantis.com/mirantis/ceph/decapod/db:${_param:decapod_version}
7 docker_image_api: docker-prod-local.artifactory.mirantis.com/mirantis/ceph/decapod/api:${_param:decapod_version}
8 docker_image_controller: docker-prod-local.artifactory.mirantis.com/mirantis/ceph/decapod/controller:latest
9 docker_image_frontend: docker-prod-local.artifactory.mirantis.com/mirantis/ceph/decapod/controller:${_param:decapod_version}
10 docker:
11 client:
12 stack:
13 decapod:
14 service:
15 database:
16 deploy:
17 restart_policy:
18 condition: any
19 image: ${_param:docker_image_db}
20 volumes:
21 - /srv/volumes/decapod/db:/data/db
22 ports:
23 - 37017:27017
24 api:
25 links:
26 - database
27 deploy:
28 restart_policy:
29 condition: any
30 image: ${_param:docker_image_api}
31 volumes:
32 - /srv/volumes/decapod/config:/etc/decapod
33 controller:
34 links:
35 - database
36 deploy:
37 restart_policy:
38 condition: any
39 image: ${_param:docker_image_controller}
40 volumes:
41 - /srv/volumes/decapod/key:/root/.ssh
42 - /srv/volumes/decapod/config:/etc/decapod
43 frontend:
44 links:
45 - api
46 ports:
47 - 19999:80
48 - 20000:443
49 deploy:
50 restart_policy:
51 condition: any
52 image: ${_param:docker_image_frontend}
53 admin:
54 links:
55 - database
56 ports:
57 - 20001:8000
58 - 19998:8001
59 deploy:
60 restart_policy:
61 condition: any
62 image: ${_param:docker_image_admin}
63 volumes:
64 - /srv/volumes/decapod/key:/root/.ssh
65 - /srv/volumes/decapod/config:/etc/decapod