Skip to content

Container tutorial

Lucas Baleeiro Dominato edited this page Jan 20, 2023 · 6 revisions

Build Docker Image

  1. 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
  1. 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
  1. Use the API REST of Reverse proxy to setting the AMFs for load balacing of SCTP connections:
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:
architecture
  • 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
Clone this wiki locally