Files
5g-images/docs/open5gs-and-srsran-5g/core.yaml
2025-04-08 15:25:13 +02:00

97 lines
1.9 KiB
YAML

version: '3'
services:
mongo:
image: mongo
environment:
MONGO_INITDB_DATABASE: open5gs
amf:
image: gradiant/open5gs:2.7.5
command:
- open5gs-amfd
restart : on-failure
ausf:
image: gradiant/open5gs:2.7.5
command:
- open5gs-ausfd
restart : on-failure
bsf:
image: gradiant/open5gs:2.7.5
command: open5gs-bsfd
restart : on-failure
nrf:
image: gradiant/open5gs:2.7.5
command: open5gs-nrfd
restart : on-failure
nssf:
image: gradiant/open5gs:2.7.5
command: open5gs-nssfd
restart : on-failure
pcf:
image: gradiant/open5gs:2.7.5
command:
- open5gs-pcfd
environment:
DB_URI: mongodb://mongo/open5gs
restart : on-failure
scp:
image: gradiant/open5gs:2.7.5
command: open5gs-scpd
environment:
DB_URI: mongodb://mongo/open5gs
restart: on-failure
smf:
image: gradiant/open5gs:2.7.5
#It is necessary to mount the configuration file if pcfr is not deployed
volumes:
- ./config/smf.yaml:/opt/open5gs/etc/open5gs/smf.yaml
command: open5gs-smfd
restart : on-failure
udm:
image: gradiant/open5gs:2.7.5
restart: on-failure
command:
- open5gs-udmd
udr:
image: gradiant/open5gs:2.7.5
restart: on-failure
environment:
DB_URI: mongodb://mongo/open5gs
command:
- open5gs-udrd
upf:
image: gradiant/open5gs:2.7.5
user: root
command:
- open5gs-upfd
cap_add:
- all
privileged: true
restart: on-failure
ports:
- 2152:2152
webui:
image: gradiant/open5gs-webui:2.7.5
restart: on-failure
environment:
DB_URI: mongodb://mongo/open5gs
NODE_ENV: development
ports:
- 9999:9999
# portainer:
# image: portainer/portainer-ce
# ports:
# - 9000:9000
# volumes:
# - /var/run/docker.sock:/var/run/docker.sock