From 769894a62e74e9726c73fc7a69a369bd6d7b0d1c Mon Sep 17 00:00:00 2001 From: Jan Tojnar Date: Tue, 27 May 2025 14:02:37 +0200 Subject: [PATCH] Fix component names with latest docker_open5gs After https://github.com/herlesupreeth/docker_open5gs/commit/661def8dd25fdebb5dfc2ba6f549757078da354e, several containers failed to start with messages like the following: Error: Invalid component name: 'pcrf-1' --- docker-compose.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 86bb017..f8e74e1 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -42,7 +42,7 @@ services: env_file: - .env environment: - - COMPONENT_NAME=hss-1 + - COMPONENT_NAME=hss volumes: - ./hss:/mnt/hss - ./log:/open5gs/install/var/log/open5gs @@ -69,7 +69,7 @@ services: env_file: - .env environment: - - COMPONENT_NAME=sgwc-1 + - COMPONENT_NAME=sgwc volumes: - ./sgwc:/mnt/sgwc - ./log:/open5gs/install/var/log/open5gs @@ -90,7 +90,7 @@ services: env_file: - .env environment: - - COMPONENT_NAME=sgwu-1 + - COMPONENT_NAME=sgwu volumes: - ./sgwu:/mnt/sgwu - ./log:/open5gs/install/var/log/open5gs @@ -110,7 +110,7 @@ services: env_file: - .env environment: - - COMPONENT_NAME=smf-1 + - COMPONENT_NAME=smf - DEPLOY_MODE=4G volumes: - ./smf:/mnt/smf @@ -139,7 +139,7 @@ services: env_file: - .env environment: - - COMPONENT_NAME=upf-1 + - COMPONENT_NAME=upf volumes: - ./upf:/mnt/upf - ./log:/open5gs/install/var/log/open5gs @@ -170,7 +170,7 @@ services: env_file: - .env environment: - - COMPONENT_NAME=mme-1 + - COMPONENT_NAME=mme volumes: - ./mme:/mnt/mme - ./log:/open5gs/install/var/log/open5gs @@ -197,7 +197,7 @@ services: env_file: - .env environment: - - COMPONENT_NAME=pcrf-1 + - COMPONENT_NAME=pcrf depends_on: - mongo volumes: @@ -311,7 +311,7 @@ services: env_file: - .env environment: - - COMPONENT_NAME=icscf-1 + - COMPONENT_NAME=icscf depends_on: - dns - mysql @@ -339,7 +339,7 @@ services: env_file: - .env environment: - - COMPONENT_NAME=scscf-1 + - COMPONENT_NAME=scscf depends_on: - dns - mysql @@ -370,7 +370,7 @@ services: env_file: - .env environment: - - COMPONENT_NAME=pcscf-1 + - COMPONENT_NAME=pcscf depends_on: - dns - mysql @@ -400,7 +400,7 @@ services: env_file: - .env environment: - - COMPONENT_NAME=smsc-1 + - COMPONENT_NAME=smsc depends_on: - dns - mysql @@ -421,7 +421,7 @@ services: env_file: - .env environment: - - COMPONENT_NAME=osmomsc-1 + - COMPONENT_NAME=osmomsc depends_on: - osmohlr expose: @@ -441,7 +441,7 @@ services: env_file: - .env environment: - - COMPONENT_NAME=osmohlr-1 + - COMPONENT_NAME=osmohlr expose: - "4222/tcp" networks: