Files
openairinterface5g/ci-scripts/yaml_files/sa_gnb_aerial/docker-compose-ue.yaml
T
Robert Schmidt 8107939f08 Change OAI license to CSSL v1.0 (and others)
- all RAN code, CI code, configuration files, dockerfiles, in CSSL v1.0
- all deployment code (openshift, charts, ancillary files like shell
  scripts), in MIT
- documentation in CC-BY-4.0
- exceptions might apply and are listed in NOTICE
- there is a new LICENSES folder with all licenses
- CONTRIBUTIONS.md has been updated accordingly

For automated changes based on OAI PL v1.1:

    perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.{c,h,cpp}
    perl -i~ -0pe 's/\/\*.*Licensed to the OpenAirInterface.*openairinterface.org\n#?/\/*\n * SPDX-License-Identifier: LicenseRef-CSSL-1.0\n/s' **/*.ts
    perl -i~ -0pe 's/<!--.*Licensed to the OpenAirInterface.*openairinterface.org\n.*-->/<!-- SPDX-License-Identifier: LicenseRef-CSSL-1.0 -->/s' **/*.xml

The rest (cmake, files with missing license, cmake) manually.
2026-03-27 16:36:37 +01:00

64 lines
2.5 KiB
YAML

# SPDX-License-Identifier: MIT
services:
oai-nr-ue:
image: ${REGISTRY-oaisoftwarealliance/}${NRUE_IMG:-oai-nr-ue}:${UE_TAG:-${TAG:-develop}}
logging:
options:
max-file: "1"
network_mode: host
container_name: oai-nr-ue
privileged: true
cpuset: 4,6,8,10,12,14,16,18,20,22,24,26,28
cap_drop:
- ALL
cap_add:
- NET_ADMIN # for interface bringup
- NET_RAW # for ping
- SYS_NICE # for performance
- IPC_LOCK # for memory locking
- SYS_PTRACE # for debugging
devices:
- /dev/net/tun:/dev/net/tun
ulimits:
core: -1 # for core dumps
#entrypoint: /bin/bash -c "sleep infinity"
environment:
TZ: UTC
#DISPLAY: $DISPLAY #Uncomment for GUI
USE_ADDITIONAL_OPTIONS: |
--thread-pool 4,6,8,10,12,14,16,18,20,22,24,26
--usrp-args type=x4xx,addr=192.168.10.2,clock_source=external,time_source=external
--ssb 1478 -r 273 --numerology 1 --band 78 -C 3750000000
--num-dl-actors 20
--ue-nb-ant-tx 1
--ue-nb-ant-rx 1
--ue-rxgain 25
--ue-txgain 13
--uicc0.imsi 001010000000003
--ue-fo-compensation -A 90
--usrp-tx-thread-config 1
--log_config.global_log_options level,nocolor,utc_time
# Unused options:
# --T_stdout 2
# --imscope
# --ssb 1478 -r 273 --numerology 1 --band 78 -C 3750000000
# --usrp-tx-thread-config 1
# --log_config.mac_log_level debug
# --log_config.nr_mac_log_level debug
# --usrp-tx-thread-config 1 -d
# --ssb 194 -r 51 --numerology 1 --band 78 -C 3750000000 #20MHz
# --ssb 236 -r 106 --numerology 1 --band 78 -C 3750000000 #40MHz
volumes:
- ../../conf_files/ue.sa.conf:/opt/oai-nr-ue/etc/nr-ue.conf
# UL throughput is worse with 256-qam table
- ../../../targets/PROJECTS/GENERIC-NR-5GC/CONF/uecap_ports1.xml:/opt/oai-nr-ue/uecap_ports1.xml
#For GUI
- ${HOME}/.Xauthority:/root/.Xauthority:rw
- /tmp/.X11-unix:/tmp/.X11-unix
healthcheck:
test: /bin/bash -c "pgrep nr-uesoftmodem"
interval: 10s
timeout: 5s
retries: 5