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