blob: b8a04d15d9aaf8ee0042aa99c1bbece07d36e91a [file] [log] [blame]
Lusheng Ji819aa7f2018-04-16 02:24:39 -04001version: '2.1'
2services:
3 pgHolmes:
4 image: "postgres:9.5"
5 container_name: "pgHolmes"
Lusheng Jicb9d6142018-05-08 09:38:02 -04006 restart: "always"
Lusheng Ji819aa7f2018-04-16 02:24:39 -04007 hostname: "phHolmes"
8 environment:
9 - "POSTGRES_USER=holmes"
10 - "POSTGRES_PASSWORD=holmespwd"
11 ports:
12 - "5432:5432"
13 labels:
14 - "SERVICE_5432_NAME=pgHolmes"
15 - "SERVICE_5432_CHECK_TCP=true"
16 - "SERVICE_5432_CHECK_INTERVAL=15s"
17 - "SERVICE_5432_CHECK_INITIAL_STATUS=passing"
18
19 pgInventory:
20 image: "postgres:9.5"
21 container_name: "pgInventory"
Lusheng Jicb9d6142018-05-08 09:38:02 -040022 restart: "always"
Lusheng Ji819aa7f2018-04-16 02:24:39 -040023 hostname: "pgInventory"
24 environment:
25 - "POSTGRES_USER=inventory"
26 - "POSTGRES_PASSWORD=inventorypwd"
27 ports:
28 - "5433:5432"
29 labels:
30 - "SERVICE_5432_NAME=pgInventory"
31 - "SERVICE_5432_CHECK_TCP=true"
32 - "SERVICE_5432_CHECK_INTERVAL=15s"
33 - "SERVICE_5432_CHECK_INITIAL_STATUS=passing"
34
35
36 consul:
Lusheng Jicb9d6142018-05-08 09:38:02 -040037 image: "consul:0.8.3"
Lusheng Ji819aa7f2018-04-16 02:24:39 -040038 container_name: "consul"
Lusheng Jicb9d6142018-05-08 09:38:02 -040039 restart: "always"
Lusheng Ji819aa7f2018-04-16 02:24:39 -040040 hostname: "consul"
41 ports:
42 - "8500:8500"
43 environment:
44 - "DOCKER_HOST=tcp://{{ dcae_ip_addr }}:2376"
45 command: "agent -ui -server -bootstrap-expect 1 -client 0.0.0.0 -log-level trace"
46 labels:
47 - "SERVICE_8500_NAME=consul"
48 - "SERVICE_8500_CHECK_HTTP=/v1/agent/services"
49 - "SERVICE_8500_CHECK_INTERVAL=15s"
50 - "SERVICE_8500_CHECK_INITIAL_STATUS=passing"
51
52
53 config-binding-service:
54 image: "{{ nexus_docker_repo}}/onap/org.onap.dcaegen2.platform.configbinding:{{ dcae_docker_cbs }}"
55 container_name: "config_binding_service"
Lusheng Jicb9d6142018-05-08 09:38:02 -040056 restart: "always"
Lusheng Ji819aa7f2018-04-16 02:24:39 -040057 hostname: "config-binding-service"
58 environment:
59 - "CONSUL_HOST=consul"
60 ports:
61 - "10000:10000"
62 depends_on:
63 - "consul"
64 labels:
65 - "SERVICE_10000_NAME=config_binding_service"
66 - "SERVICE_10000_CHECK_HTTP=/healthcheck"
67 - "SERVICE_10000_CHECK_INTERVAL=15s"
68 - "SERVICE_10000_CHECK_INITIAL_STATUS=passing"
69