33 lines
1.3 KiB
YAML
33 lines
1.3 KiB
YAML
# SPDX-License-Identifier: MIT
|
|
|
|
services:
|
|
gnb_mono_tdd:
|
|
image: ${REGISTRY-oaisoftwarealliance/}${GNB_IMG:-oai-gnb}:${TAG:-develop}
|
|
container_name: sa-b200-gnb
|
|
cap_drop:
|
|
- ALL
|
|
cap_add:
|
|
- SYS_NICE
|
|
- IPC_LOCK
|
|
ulimits:
|
|
core: -1 # for core dumps
|
|
environment:
|
|
USE_B2XX: 'yes'
|
|
USE_ADDITIONAL_OPTIONS: --RUs.[0].sdr_addrs serial=30C51D4 --telnetsrv --telnetsrv.shrmod ci --continuous-tx --log_config.global_log_options level,nocolor,time,line_num,function -E
|
|
devices:
|
|
- /dev/bus/usb/:/dev/bus/usb/
|
|
volumes:
|
|
- ../../conf_files/gnb.sa.band78.106prb.usrpb200.sc-fdma-deltaMCS.conf:/opt/oai-gnb/etc/gnb.conf
|
|
# for performance reasons, we use host mode: in bridge mode, we have
|
|
# unacceptable DL TCP performance. However, the whole point of
|
|
# containerization is to not be in host mode, so update this to macvlan
|
|
# later.
|
|
network_mode: "host"
|
|
#entrypoint: /bin/bash -c "sleep infinity"
|
|
healthcheck:
|
|
# pgrep does NOT work
|
|
test: /bin/bash -c "ps aux | grep -v grep | grep -c softmodem"
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|