-
Notifications
You must be signed in to change notification settings - Fork 14
/
docker-compose-docker.yml
52 lines (52 loc) · 1.25 KB
/
docker-compose-docker.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
version: '3'
services:
nfvo:
image: openbaton/nfvo:${OB_VERSION}
depends_on:
- rabbitmq_broker
- nfvo_database
restart: always
env_file:
- env/openbaton.env
environment:
- SPRING_RABBITMQ_HOST=rabbitmq_broker
- SPRING_DATASOURCE_URL=jdbc:mysql://nfvo_database:3306/openbaton?useSSL=false
ports:
- "8080:8080"
vnfm_docker_go:
image: openbaton/vnfm-docker-go:${OB_VERSION}
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:${OB_VERSION}
depends_on:
- nfvo
restart: always
environment:
- BROKER_IP=rabbitmq_broker
volumes:
- /var/run/docker.sock:/var/run/docker.sock:rw
rabbitmq_broker:
image: rabbitmq:${OB_RABBITMQ_VERSION}
hostname: openbaton-rabbitmq
env_file:
- env/openbaton.env
ports:
- "5672:5672"
- "15672:15672"
volumes:
- ./dbdata_rabbit:/var/lib/rabbitmq
nfvo_database:
image: mysql/mysql-server:${OB_MYSQL_VERSION}
env_file:
- env/openbaton.env
volumes:
- ./dbdata_nfvo:/var/lib/mysql
volumes:
dbdata_nfvo:
dbdata_rabbit: