blob: 59858e19c8b8f0b1af05f16a876f4f714eadb614 [file] [log] [blame]
tragait3ae5ef42019-09-06 11:31:59 +01001version: '2.1'
2
3networks:
4 default:
5 driver: bridge
6 driver_opts:
7 com.docker.network.driver.mtu: ${MTU}
8
9
10services:
11 db:
12 image: mysql/mysql-server:5.6
13 container_name: sdnc_db_container
14 ports:
15 - "3306"
16 environment:
17 - MYSQL_ROOT_PASSWORD=openECOMP1.0
18 - MYSQL_ROOT_HOST=%
19 logging:
20 driver: "json-file"
21 options:
22 max-size: "30m"
23 max-file: "5"
24
25 ansible:
26 image: onap/sdnc-ansible-server-image:latest
27 depends_on :
28 - db
29 container_name: sdnc_ansible_container
30 entrypoint: ["/opt/onap/ccsdk/startAnsibleServer.sh"]
31 ports:
32 - "8000"
33 links:
34 - db:dbhost
35 - db:sdnctldb01
36 - db:sdnctldb02
37 environment:
38 - MYSQL_ROOT_PASSWORD=openECOMP1.0
39 logging:
40 driver: "json-file"
41 options:
42 max-size: "30m"
43 max-file: "5"
44
45 sdnc:
46 image: onap/sdnc-image:latest
47 depends_on :
48 - db
49 - ansible
50 container_name: sdnc_controller_container
51 volumes:
52 - $SDNC_CERT_PATH:/opt/opendaylight/current/certs
53 entrypoint: ["/opt/onap/sdnc/bin/startODL.sh"]
54 ports:
55 - "8282:8181"
56 links:
57 - db:dbhost
58 - db:sdnctldb01
59 - db:sdnctldb02
60 - ansible:ansiblehost
61 environment:
62 - MYSQL_ROOT_PASSWORD=openECOMP1.0
63 - SDNC_CONFIG_DIR=/opt/onap/sdnc/data/properties
64 dns:
65 - ${DNS_IP_ADDR-10.0.100.1}
66 logging:
67 driver: "json-file"
68 options:
69 max-size: "30m"
70 max-file: "5"
71 extra_hosts:
72 aaf.osaaf.org: 10.12.6.214
73