-
Notifications
You must be signed in to change notification settings - Fork 0
Container tutorial
Lucas Baleeiro Dominato edited this page Jan 20, 2023
·
6 revisions
- Edit configuration file and make the following procedures. For more details see the page configuration.
- Configure http with the HTTP IP address and its port. You will need to use HTTP server and its API REST for configuration of AMFs. For example:
http:
ip: "127.0.0.1"
port: 8080
- Configure sctp with the Reverse Proxy IP address and its port. You will need to use these information to connect with your GNB/N3IWF. For example:
sctp:
ip: "127.0.0.1"
port: 9488
- Use the API REST of Reverse proxy to setting the AMFs for load balacing of SCTP connections:
- For more information see the usage page.
curl --location --request POST 'http://127.0.0.1:8080/api/v1/amf' --header 'Content-Type: application/json' --data-raw '{
"name": "amf1",
"ip": "127.0.0.1",
"port": 38412,
"state": 1
}'
curl --location --request POST 'http://127.0.0.1:8080/api/v1/amf' --header 'Content-Type: application/json' --data-raw '{
"name": "amf2",
"ip": "127.0.0.1",
"port": 38413,
"state": 1
}'
- Representing Topology:
- Build the images of my5G Reverse Proxy
$ docker-compose build
- Make sure you have set up core-network already since we will reuse docker network
$ docker-compose -f docker/docker-compose.yaml up -d