docker-compose changes for SGWC, SGWU, NRF, AUSF, UDM, UDR, AMF, SMF, UPF
This commit is contained in:
@@ -17,6 +17,77 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
ipv4_address: ${MONGO_IP}
|
ipv4_address: ${MONGO_IP}
|
||||||
|
nrf:
|
||||||
|
build: ./nrf
|
||||||
|
image: docker_open5gs_nrf
|
||||||
|
container_name: nrf
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
volumes:
|
||||||
|
- ./nrf:/mnt/nrf
|
||||||
|
- ./log:/open5gs/install/var/log/open5gs
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
expose:
|
||||||
|
- "7777/tcp"
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
ipv4_address: ${NRF_IP}
|
||||||
|
ausf:
|
||||||
|
build: ./ausf
|
||||||
|
image: docker_open5gs_ausf
|
||||||
|
depends_on:
|
||||||
|
- nrf
|
||||||
|
container_name: ausf
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
volumes:
|
||||||
|
- ./ausf:/mnt/ausf
|
||||||
|
- ./log:/open5gs/install/var/log/open5gs
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
expose:
|
||||||
|
- "7777/tcp"
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
ipv4_address: ${AUSF_IP}
|
||||||
|
udr:
|
||||||
|
build: ./udr
|
||||||
|
image: docker_open5gs_udr
|
||||||
|
depends_on:
|
||||||
|
- nrf
|
||||||
|
- mongo
|
||||||
|
container_name: udr
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
volumes:
|
||||||
|
- ./udr:/mnt/udr
|
||||||
|
- ./log:/open5gs/install/var/log/open5gs
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
expose:
|
||||||
|
- "7777/tcp"
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
ipv4_address: ${UDR_IP}
|
||||||
|
udm:
|
||||||
|
build: ./udm
|
||||||
|
image: docker_open5gs_udm
|
||||||
|
depends_on:
|
||||||
|
- nrf
|
||||||
|
container_name: udm
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
volumes:
|
||||||
|
- ./udm:/mnt/udm
|
||||||
|
- ./log:/open5gs/install/var/log/open5gs
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
expose:
|
||||||
|
- "7777/tcp"
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
ipv4_address: ${UDM_IP}
|
||||||
hss:
|
hss:
|
||||||
build: ./hss
|
build: ./hss
|
||||||
image: docker_open5gs_hss
|
image: docker_open5gs_hss
|
||||||
@@ -42,33 +113,60 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
ipv4_address: ${HSS_IP}
|
ipv4_address: ${HSS_IP}
|
||||||
sgw:
|
sgwc:
|
||||||
build: ./sgw
|
build: ./sgwc
|
||||||
image: docker_open5gs_sgw
|
image: docker_open5gs_sgwc
|
||||||
container_name: sgw
|
depends_on:
|
||||||
|
- nrf
|
||||||
|
- smf
|
||||||
|
- upf
|
||||||
|
container_name: sgwc
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
volumes:
|
volumes:
|
||||||
- ./sgw:/mnt/sgw
|
- ./sgwc:/mnt/sgwc
|
||||||
- ./log:/open5gs/install/var/log/open5gs
|
- ./log:/open5gs/install/var/log/open5gs
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
expose:
|
expose:
|
||||||
- "2123/udp"
|
- "2123/udp"
|
||||||
|
- "8805/udp"
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
ipv4_address: ${SGWC_IP}
|
||||||
|
sgwu:
|
||||||
|
build: ./sgwu
|
||||||
|
image: docker_open5gs_sgwu
|
||||||
|
depends_on:
|
||||||
|
- nrf
|
||||||
|
- smf
|
||||||
|
- upf
|
||||||
|
container_name: sgwu
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
volumes:
|
||||||
|
- ./sgwu:/mnt/sgwu
|
||||||
|
- ./log:/open5gs/install/var/log/open5gs
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
expose:
|
||||||
|
- "8805/udp"
|
||||||
- "2152/udp"
|
- "2152/udp"
|
||||||
# ports:
|
# ports:
|
||||||
# - "2152:2152/udp"
|
# - "2152:2152/udp"
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
ipv4_address: ${SGW_IP}
|
ipv4_address: ${SGWU_IP}
|
||||||
pgw:
|
smf:
|
||||||
build: ./pgw
|
build: ./smf
|
||||||
image: docker_open5gs_pgw
|
image: docker_open5gs_smf
|
||||||
container_name: pgw
|
depends_on:
|
||||||
|
- nrf
|
||||||
|
container_name: smf
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
volumes:
|
volumes:
|
||||||
- ./pgw:/mnt/pgw
|
- ./smf:/mnt/smf
|
||||||
- ./log:/open5gs/install/var/log/open5gs
|
- ./log:/open5gs/install/var/log/open5gs
|
||||||
- /etc/timezone:/etc/timezone:ro
|
- /etc/timezone:/etc/timezone:ro
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
@@ -79,24 +177,75 @@ services:
|
|||||||
- "5868/udp"
|
- "5868/udp"
|
||||||
- "5868/tcp"
|
- "5868/tcp"
|
||||||
- "5868/sctp"
|
- "5868/sctp"
|
||||||
- "2152/udp"
|
- "8805/udp"
|
||||||
- "2123/udp"
|
- "2123/udp"
|
||||||
|
- "7777/tcp"
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
ipv4_address: ${SMF_IP}
|
||||||
|
upf:
|
||||||
|
build: ./upf
|
||||||
|
image: docker_open5gs_upf
|
||||||
|
depends_on:
|
||||||
|
- nrf
|
||||||
|
- smf
|
||||||
|
container_name: upf
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
volumes:
|
||||||
|
- ./upf:/mnt/upf
|
||||||
|
- ./log:/open5gs/install/var/log/open5gs
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
expose:
|
||||||
|
- "2152/udp"
|
||||||
|
- "8805/udp"
|
||||||
cap_add:
|
cap_add:
|
||||||
- NET_ADMIN
|
- NET_ADMIN
|
||||||
devices:
|
devices:
|
||||||
- "/dev/net/tun"
|
- "/dev/net/tun"
|
||||||
sysctls:
|
sysctls:
|
||||||
- net.ipv4.ip_forward=1
|
- net.ipv4.ip_forward=1
|
||||||
|
#- net.ipv6.conf.all.disable_ipv6=0
|
||||||
networks:
|
networks:
|
||||||
default:
|
default:
|
||||||
ipv4_address: ${PGW_IP}
|
ipv4_address: ${UPF_IP}
|
||||||
|
amf:
|
||||||
|
build: ./amf
|
||||||
|
image: docker_open5gs_amf
|
||||||
|
depends_on:
|
||||||
|
- hss
|
||||||
|
- smf
|
||||||
|
- upf
|
||||||
|
- nrf
|
||||||
|
- ausf
|
||||||
|
- udm
|
||||||
|
- udr
|
||||||
|
container_name: amf
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
volumes:
|
||||||
|
- ./amf:/mnt/amf
|
||||||
|
- ./log:/open5gs/install/var/log/open5gs
|
||||||
|
- /etc/timezone:/etc/timezone:ro
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
expose:
|
||||||
|
- "38412/sctp"
|
||||||
|
- "7777/tcp"
|
||||||
|
# ports:
|
||||||
|
# - "38412:38412/sctp"
|
||||||
|
networks:
|
||||||
|
default:
|
||||||
|
ipv4_address: ${AMF_IP}
|
||||||
mme:
|
mme:
|
||||||
build: ./mme
|
build: ./mme
|
||||||
image: docker_open5gs_mme
|
image: docker_open5gs_mme
|
||||||
depends_on:
|
depends_on:
|
||||||
- hss
|
- hss
|
||||||
- sgw
|
- sgwc
|
||||||
- pgw
|
- sgwu
|
||||||
|
- smf
|
||||||
|
- upf
|
||||||
container_name: mme
|
container_name: mme
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
@@ -113,6 +262,7 @@ services:
|
|||||||
- "5868/tcp"
|
- "5868/tcp"
|
||||||
- "5868/sctp"
|
- "5868/sctp"
|
||||||
- "36412/sctp"
|
- "36412/sctp"
|
||||||
|
- "2123/udp"
|
||||||
# ports:
|
# ports:
|
||||||
# - "36412:36412/sctp"
|
# - "36412:36412/sctp"
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
Reference in New Issue
Block a user