Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions ims/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ Over-The-Air setups:
You can either pull the pre-built docker images or build them from the source.

### Get Pre-built Docker images
TODO: Update procedure to use pre-built images

Required IMS images are already built and updated in sa-vonr-ims-deploy.yaml. Use this file to deploy IMS using pre-built images

### Build Docker images from source

Expand Down Expand Up @@ -82,7 +83,8 @@ source .env
docker compose -f sa-vonr-ims-deploy.yaml up
```

NOTE: If IMS deployed on separate server than 5GC, add below route in IMS server (IMS UE SUBNET is assumed as 192.168.200.0/24),
NOTE 1: Use sa-vonr-ims-deploy-local-img.yaml file to use locally built IMS images
NOTE 2: If IMS deployed on separate server than 5GC, add below route in IMS server (IMS UE SUBNET is assumed as 192.168.200.0/24),
```
sudo ip route add 192.168.200.0/24 via <DATA_IFACE IP OF UPF>
```
Expand Down
1 change: 0 additions & 1 deletion ims/VERSION

This file was deleted.

203 changes: 203 additions & 0 deletions ims/sa-vonr-ims-deploy-local-img.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,203 @@
services:
n5:
build: ./n5
image: docker_n5
container_name: n5
env_file:
- .env
volumes:
- ./n5:/mnt/n5
- /tmp/aether-ims-n5:/app/config/aether-ims-n5
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
network_mode: host
dns:
build: ./dns
image: docker_dns
container_name: dns
env_file:
- .env
volumes:
- ./dns:/mnt/dns
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
expose:
- "53/udp"
networks:
default:
ipv4_address: ${DNS_IP}
rtpengine:
build: ./rtpengine
image: docker_rtpengine
container_name: rtpengine
privileged: true
env_file:
- .env
volumes:
- ./rtpengine:/mnt/rtpengine
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
cap_add:
- NET_ADMIN
environment:
- TABLE=0
- INTERFACE=${RTPENGINE_IP}
- LISTEN_NG=${RTPENGINE_IP}:2223
- PIDFILE=/run/ngcp-rtpengine-daemon.pid
- PORT_MAX=50000
- PORT_MIN=49000
- NO_FALLBACK=no
- TOS=184
expose:
- "2223/udp"
# - "49000-50000/udp"
network_mode: host
mysql:
build: ./mysql
image: docker_mysql
container_name: mysql
env_file:
- .env
volumes:
- dbdata:/var/lib/mysql
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
expose:
- "3306/tcp"
networks:
default:
ipv4_address: ${MYSQL_IP}
pyhss:
build: ./pyhss
image: docker_pyhss
container_name: pyhss
dns: ${DNS_IP}
volumes:
- ./pyhss:/mnt/pyhss
- ./pyhss/logs:/pyhss/log/
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
depends_on:
- dns
- mysql
expose:
- "${PYHSS_BIND_PORT}/tcp"
- "${PYHSS_BIND_PORT}/sctp"
- "8080/tcp"
ports:
- "8080:8080/tcp"
networks:
default:
ipv4_address: ${PYHSS_IP}
icscf:
image: docker_kamailio
container_name: icscf
dns: ${DNS_IP}
volumes:
- ./icscf:/mnt/icscf
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
environment:
- COMPONENT_NAME=icscf
depends_on:
- dns
- mysql
- pyhss
expose:
- "${ICSCF_BIND_PORT}/tcp"
- "${ICSCF_BIND_PORT}/sctp"
- "4060/udp"
- "4060/tcp"
networks:
default:
ipv4_address: ${ICSCF_IP}
scscf:
image: docker_kamailio
container_name: scscf
dns: ${DNS_IP}
volumes:
- ./scscf:/mnt/scscf
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
environment:
- COMPONENT_NAME=scscf
depends_on:
- dns
- mysql
- pyhss
expose:
- "${SCSCF_BIND_PORT}/tcp"
- "${SCSCF_BIND_PORT}/sctp"
- "6060/udp"
- "6060/tcp"
networks:
default:
ipv4_address: ${SCSCF_IP}
pcscf:
image: docker_kamailio
container_name: pcscf
dns: ${DNS_IP}
privileged: true
cap_add:
- NET_ADMIN
volumes:
- ./pcscf:/mnt/pcscf
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
environment:
- COMPONENT_NAME=pcscf
- DEPLOY_MODE=5G
depends_on:
- dns
- mysql
- rtpengine
- icscf
- scscf
expose:
- "${PCSCF_BIND_PORT}/tcp"
- "${PCSCF_BIND_PORT}/sctp"
- "5060/tcp"
- "5060/udp"
# - "5100-5120/tcp"
# - "5100-5120/udp"
# - "6100-6120/tcp"
# - "6100-6120/udp"
network_mode: host
smsc:
image: docker_kamailio
container_name: smsc
dns: ${DNS_IP}
volumes:
- ./smsc:/mnt/smsc
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
env_file:
- .env
environment:
- COMPONENT_NAME=smsc
depends_on:
- dns
- mysql
expose:
- "7090/udp"
- "7090/tcp"
networks:
default:
ipv4_address: ${SMSC_IP}
networks:
default:
name: docker_open5gs_default
ipam:
config:
- subnet: ${TEST_NETWORK}
volumes:
dbdata:
name: docker_open5gs_dbdata
23 changes: 9 additions & 14 deletions ims/sa-vonr-ims-deploy.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
services:
n5:
build: ./n5
image: docker_n5
image: aetherproject/ims-n5:rel-1.0.0
container_name: n5
env_file:
- .env
Expand All @@ -12,8 +11,7 @@ services:
- /etc/localtime:/etc/localtime:ro
network_mode: host
dns:
build: ./dns
image: docker_dns
image: aetherproject/ims-dns:rel-1.0.0
container_name: dns
env_file:
- .env
Expand All @@ -27,8 +25,7 @@ services:
default:
ipv4_address: ${DNS_IP}
rtpengine:
build: ./rtpengine
image: docker_rtpengine
image: aetherproject/ims-rtpengine:rel-1.0.0
container_name: rtpengine
privileged: true
env_file:
Expand All @@ -53,8 +50,7 @@ services:
# - "49000-50000/udp"
network_mode: host
mysql:
build: ./mysql
image: docker_mysql
image: aetherproject/ims-mysql:rel-1.0.0
container_name: mysql
env_file:
- .env
Expand All @@ -68,8 +64,7 @@ services:
default:
ipv4_address: ${MYSQL_IP}
pyhss:
build: ./pyhss
image: docker_pyhss
image: aetherproject/ims-pyhss:rel-1.0.0
container_name: pyhss
dns: ${DNS_IP}
volumes:
Expand All @@ -92,7 +87,7 @@ services:
default:
ipv4_address: ${PYHSS_IP}
icscf:
image: docker_kamailio
image: aetherproject/ims-kamailio:rel-1.0.0
container_name: icscf
dns: ${DNS_IP}
volumes:
Expand All @@ -116,7 +111,7 @@ services:
default:
ipv4_address: ${ICSCF_IP}
scscf:
image: docker_kamailio
image: aetherproject/ims-kamailio:rel-1.0.0
container_name: scscf
dns: ${DNS_IP}
volumes:
Expand All @@ -140,7 +135,7 @@ services:
default:
ipv4_address: ${SCSCF_IP}
pcscf:
image: docker_kamailio
image: aetherproject/ims-kamailio:rel-1.0.0
container_name: pcscf
dns: ${DNS_IP}
privileged: true
Expand Down Expand Up @@ -172,7 +167,7 @@ services:
# - "6100-6120/udp"
network_mode: host
smsc:
image: docker_kamailio
image: aetherproject/ims-kamailio:rel-1.0.0
container_name: smsc
dns: ${DNS_IP}
volumes:
Expand Down