Set ulimit of core to -1 enable core dumps for file-based core dumping. Note that it is not necessary for e.g., systemd-coredumpd, but put it for completeness.
35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
version: '3.8'
|
|
|
|
services:
|
|
gnb_mono_tdd:
|
|
image: oai-gnb:latest
|
|
privileged: true
|
|
container_name: sa-b200-gnb
|
|
ulimits:
|
|
core: -1 # for core dumps
|
|
environment:
|
|
USE_B2XX: 'yes'
|
|
USE_ADDITIONAL_OPTIONS: --sa --RUs.[0].sdr_addrs serial=30C51D4 --telnetsrv --telnetsrv.shrmod ci --continuous-tx --log_config.global_log_options level,nocolor,time,line_num,function
|
|
volumes:
|
|
- ../../conf_files/gnb.sa.band78.51prb.usrpb200.conf:/opt/oai-gnb/etc/gnb.conf
|
|
- /dev:/dev
|
|
networks:
|
|
public_net:
|
|
ipv4_address: 192.168.68.194
|
|
#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
|
|
|
|
networks:
|
|
public_net:
|
|
name: sa-b200-gnb-net
|
|
ipam:
|
|
config:
|
|
- subnet: 192.168.68.192/26
|
|
driver_opts:
|
|
com.docker.network.bridge.name: "sa-gnb-net"
|