-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathdocker-compose.yml
69 lines (68 loc) · 1.28 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
version: '2'
services:
db:
build: db
ports:
- 3306:3306
environment:
- MYSQL_ROOT_PASSWORD=linux
domainname: openair4G.eur
hostname: db
phpmyadmin:
image: phpmyadmin/phpmyadmin
links:
- db:db
ports:
- 8080:80
environment:
- MYSQL_ROOT_PASSWORD=linux
- MYSQL_USER=root
- MYSQL_PASSWORD=linux
hss:
build: hss
links:
- db:db.openair4G.eur
networks:
default:
epc:
ipv4_address: 192.168.142.10
domainname: openair4G.eur
hostname: hss
mme:
build: mme
links:
- hss:hss.openair4G.eur
networks:
epc:
ipv4_address: 192.168.142.20
domainname: openair4G.eur
hostname: mme
spgw:
build: spgw
links:
- hss:hss.openair4G.eur
networks:
epc:
ipv4_address: 192.168.142.30
sg:
ipv4_address: 172.16.0.2
privileged: true
domainname: openair4G.eur
hostname: spgw
volumes:
- /lib/modules:/lib/modules
networks:
epc:
driver: bridge
ipam:
driver: default
config:
- subnet: 192.168.142.0/24
gateway: 192.168.142.1
sg:
driver: bridge
ipam:
driver: default
config:
- subnet: 172.16.0.0/16
gateway: 172.16.0.1