Add deployment file for srsRAN gNB
This commit is contained in:
@@ -44,9 +44,11 @@ source .env
|
||||
docker-compose build --no-cache
|
||||
docker-compose up
|
||||
|
||||
# srsLTE eNB
|
||||
# srsRAN eNB
|
||||
docker-compose -f srsenb.yaml build --no-cache
|
||||
docker-compose -f srsenb.yaml up -d && docker attach srsenb
|
||||
# srsRAN gNB
|
||||
docker-compose -f srsgnb.yaml up -d && docker attach srsgnb
|
||||
|
||||
# UERANSIM gNB
|
||||
docker-compose -f nr-gnb.yaml up -d && docker attach nr_gnb
|
||||
|
31
srsgnb.yaml
Normal file
31
srsgnb.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
version: '3'
|
||||
services:
|
||||
srsgnb:
|
||||
build: ./srslte
|
||||
image: docker_srslte
|
||||
container_name: srsgnb
|
||||
stdin_open: true
|
||||
tty: true
|
||||
privileged: true
|
||||
devices:
|
||||
- "/dev/bus"
|
||||
volumes:
|
||||
- /dev/serial:/dev/serial:ro
|
||||
- /dev/bus/usb:/dev/bus/usb:ro
|
||||
- ./srslte:/mnt/srslte
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
env_file:
|
||||
- .env
|
||||
environment:
|
||||
- COMPONENT_NAME=gnb
|
||||
expose:
|
||||
- "38412/sctp"
|
||||
- "2152/udp"
|
||||
networks:
|
||||
default:
|
||||
ipv4_address: ${SRS_ENB_IP}
|
||||
networks:
|
||||
default:
|
||||
external:
|
||||
name: docker_open5gs_default
|
Reference in New Issue
Block a user