-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose.yml
70 lines (70 loc) · 1.75 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
version: '3'
services:
nfvo:
image: openbaton/nfvo:latest
depends_on:
- rabbitmq_broker
- nfvo_database
restart: always
environment:
- NFVO_RABBIT_BROKERIP=${HOST_IP}
- SPRING_RABBITMQ_HOST=rabbitmq_broker
- SPRING_PROFILES_ACTIVE=mysql
- SPRING_DATASOURCE_URL=jdbc:mysql://nfvo_database:3306/openbaton?useSSL=false
ports:
- "8080:8080"
vnfm_generic:
image: openbaton/vnfm-generic:latest
depends_on:
- nfvo
restart: always
environment:
- RABBITMQ_HOST=rabbitmq_broker
plugin_vimdriver_openstack_4j:
image: openbaton/plugin-vimdriver-openstack-4j:latest
depends_on:
- nfvo
restart: always
environment:
- RABBITMQ=rabbitmq_broker
vnfm_docker_go:
image: openbaton/vnfm-docker-go:latest
depends_on:
- nfvo
restart: always
environment:
- BROKER_IP=rabbitmq_broker
volumes:
- /var/run/docker.sock:/var/run/docker.sock:rw
driver_docker_go:
image: openbaton/driver-docker-go:latest
depends_on:
- nfvo
restart: always
environment:
- BROKER_IP=rabbitmq_broker
volumes:
- /var/run/docker.sock:/var/run/docker.sock:rw
rabbitmq_broker:
image: rabbitmq:3-management-alpine
hostname: openbaton-rabbitmq
environment:
- RABBITMQ_DEFAULT_USER=admin
- RABBITMQ_DEFAULT_PASS=openbaton
ports:
- "5672:5672"
- "15672:15672"
volumes:
- dbdata_rabbit:/var/lib/rabbitmq
nfvo_database:
image: mysql/mysql-server:5.7.20
environment:
- MYSQL_RANDOM_ROOT_PASSWORD=true
- MYSQL_DATABASE=openbaton
- MYSQL_USER=admin
- MYSQL_PASSWORD=changeme
volumes:
- dbdata_nfvo:/var/lib/mysql
volumes:
dbdata_nfvo:
dbdata_rabbit: