Commit ce8ed675 authored by chen2022's avatar chen2022

无状态 源码- 可执行文件

parent 336adfda
......@@ -21,7 +21,7 @@ services:
ipv4_address: 10.244.1.7
stateless-udm:
image: registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:udm-cmcc-v2
image: chendocker2022/stateless-udm:1.0
container_name: stateless-udm
restart: always
logging:
......@@ -34,19 +34,21 @@ services:
- /bin/bash
- -c
- |
/opt/5gc/udm/libs/ld-linux-x86-64.so.2 --library-path /opt/5gc/udm/libs/ /opt/5gc/udm/udm -c /etc/openxg/udm.conf -o > /var/log/udm.log
#/opt/5gc/ausf/ausf -c /etc/openxg/ausf.conf -o > /var/log/ausf.log
/opt/5gc/udm/libs/ld-linux-x86-64.so.2 --library-path /opt/5gc/udm/libs/ /opt/5gc/udm/udm -c /etc/openxg/udm.conf -o 2>&1 | tee /var/log/udm.log
networks:
openxg:
ipv4_address: 10.244.1.15
stateless-udr:
image: registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:udr-cmcc-v2
image: chendocker2022/stateless-udr:1.0
container_name: stateless-udr
restart: always
logging:
driver: "json-file"
options:
max-size: "1m"
depends_on:
- stateless-mysql
volumes:
- ./etc:/etc/openxg/
depends_on:
......@@ -55,14 +57,13 @@ services:
- /bin/bash
- -c
- |
/opt/5gc/udr/udr -c /etc/openxg/udr.conf -o > /var/log/udr.log
#/opt/5gc/ausf/ausf -c /etc/openxg/ausf.conf -o > /var/log/ausf.log
/opt/5gc/udr/libs/ld-linux-x86-64.so.2 --library-path /opt/5gc/udr/libs/ /opt/5gc/udr/udr -c /etc/openxg/udr.conf -o 2>&1 | tee /var/log/udr.log
networks:
openxg:
ipv4_address: 10.244.1.17
stateless-ausf:
image: registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:ausf-cmcc-v2
image: chendocker2022/stateless-ausf:1.0
container_name: stateless-ausf
restart: always
logging:
......@@ -75,16 +76,14 @@ services:
- /bin/bash
- -c
- |
/opt/5gc/ausf/ausf -c /etc/openxg/ausf.conf -o > /var/log/ausf.log
#/amf/build/amf/build/amf -c /etc/openxg/amf.conf -o > /var/amf.log
#/amf/build/amf/build/amf -c /etc/amf.conf -o > /var/amf.log
/opt/5gc/ausf/libs/ld-linux-x86-64.so.2 --library-path /opt/5gc/ausf/libs/ /opt/5gc/ausf/ausf -c /etc/openxg/ausf.conf -o 2>&1 | tee /var/log/ausf.log
networks:
openxg:
ipv4_address: 10.244.1.14
stateless-amf:
image: registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:amf-cmcc-v2
image: chendocker2022/stateless-amf:1.0
container_name: stateless-amf
restart: always
logging:
......@@ -99,14 +98,14 @@ services:
- /bin/bash
- -c
- |
/amf/build/amf/build/amf -c /etc/openxg/amf.conf -o > /var/log/amf.log
#/amf/build/amf/build/amf -c /etc/amf.conf -o > /var/amf.log
/opt/5gc/amf/libs/ld-linux-x86-64.so.2 --library-path /opt/5gc/amf/libs/ /opt/5gc/amf/amf -c /etc/openxg/amf.conf -o 2>&1 | tee /var/log/amf.log
networks:
openxg:
ipv4_address: 10.244.1.12
stateless-smf:
image: registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:smf-cmcc-v2
image: chendocker2022/stateless-smf:1.0
container_name: stateless-smf
restart: always
logging:
......@@ -121,14 +120,13 @@ services:
- /bin/bash
- -c
- |
/oai-cn5g-smf/build/smf/build/smf -c /etc/openxg/smf.conf -o > /var/smf.log
#/amf/build/amf/build/amf -c /etc/amf.conf -o > /var/amf.log
/opt/5gc/smf/libs/ld-linux-x86-64.so.2 --library-path /opt/5gc/smf/libs/ /opt/5gc/smf/smf -c /etc/openxg/smf.conf -o 2>&1 | tee /var/smf.log
networks:
openxg:
ipv4_address: 10.244.2.13
stateless-spgw:
image: registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:spgwu-cmcc-v2
image: chendocker2022/stateless-spgw:1.0
container_name: stateless-spgwu
privileged: true
restart: always
......@@ -144,35 +142,35 @@ services:
- /bin/bash
- -c
- |
/openxg-spgwu-tiny/build/spgw_u/build/spgwu -c /etc/openxg/spgwu.conf -o > /var/log/spgwu.log
#/amf/build/amf/build/amf -c /etc/amf.conf -o > /var/amf.log
/opt/5gc/spgw-u-tiny/libs/ld-linux-x86-64.so.2 --library-path /opt/5gc/spgw-u-tiny/libs/ /opt/5gc/spgw-u-tiny/spgwu -c /etc/openxg/spgwu.conf -o 2>&1 | tee /var/log/spgw-u.log
networks:
openxg:
ipv4_address: 10.244.2.18
stateless-udsf:
image: registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:udsf-cmcc-v2
image: chendocker2022/stateless-udsf:1.0
container_name: stateless-udsf
restart: always
logging:
driver: "json-file"
options:
max-size: "1m"
depends_on:
- stateless-mysql
volumes:
- ./etc:/etc/openxg/
command:
- /bin/bash
- -c
- |
/udsf/build/UDSF/udsf -c /etc/openxg/udsf.conf -o > /var/log/udsf.log
#/amf/build/amf/build/amf -c /etc/amf.conf -o > /var/amf.log
/opt/5gc/udsf/libs/ld-linux-x86-64.so.2 --library-path /opt/5gc/udsf/libs/ /opt/5gc/udsf/udsf -c /etc/openxg/udsf.conf -o 2>&1 | tee /var/log/udsf.log
networks:
openxg:
ipv4_address: 10.244.1.16
stateless-rise:
image: hogostan/openxg-rise:1.0
image: chendocker2022/stateless-rise:1.0
container_name: stateless-rise
restart: always
logging:
......@@ -187,8 +185,7 @@ services:
- /bin/bash
- -c
- |
/gnb-sbi-plugin/build/PLUGIN/plugin -c /etc/openxg/plugin.conf -o > /var/log/rise.log
#/amf/build/amf/build/amf -c /etc/amf.conf -o > /var/amf.log
opt/5gc/rise/libs/ld-linux-x86-64.so.2 --library-path /opt/5gc/rise/libs/ /opt/5gc/rise/plugin -c /etc/openxg/plugin.conf -o 2>&1 | tee /var/log/rise.log
networks:
openxg:
ipv4_address: 10.244.1.20
......@@ -197,6 +194,6 @@ services:
networks:
openxg:
external: true
external:
name: openxg-stateless
File added
File added
File added
File added
File added
File added
#!/bin/bash
mkdir -p docker-mysql
sudo docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:amf-cmcc-v2
sudo docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:smf-cmcc-v2
sudo docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:ausf-cmcc-v2
sudo docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:udm-cmcc-v2
sudo docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:udr-cmcc-v2
sudo docker pull registry.cn-hangzhou.aliyuncs.com/bupt_liuyu/cmmm_k8s_network_function:spgwu-cmcc-v2
sudo docker pull hogostan/openxg-udsf:1.0
sudo docker pull hogostan/openxg-rise:1.0
sudo docker pull mysql/mysql-server:5.7
sudo docker pull hogostan/ueransim:1.0
docker pull chendocker2022/stateless-amf:1.0
docker pull chendocker2022/stateless-smf:1.0
docker pull chendocker2022/stateless-spgw:1.0
docker pull chendocker2022/stateless-udm:1.0
docker pull chendocker2022/stateless-udr:1.0
docker pull chendocker2022/stateless-ausf:1.0
docker pull chendocker2022/stateless-udsf:1.0
docker pull chendocker2022/stateless-rise:1.0
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment