From 25962dc04ad82c85f024ca1ef249d8162ac36144 Mon Sep 17 00:00:00 2001 From: Ali Jomeiy Date: Thu, 26 Dec 2024 12:30:26 +0000 Subject: [PATCH] update docker compose --- docker/docker-compose.yaml | 23 +++-------------------- 1 file changed, 3 insertions(+), 20 deletions(-) diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml index 44f4b82..1b63e95 100644 --- a/docker/docker-compose.yaml +++ b/docker/docker-compose.yaml @@ -1,26 +1,9 @@ -version: '3' -networks: - default: - ipam: - config: - - subnet: ${TEST_NETWORK} services: pyhss: - build: ./pyhss image: pyhss container_name: pyhss - env_file: - - .env - environment: - - COMPONENT_NAME=hss-1 volumes: - - ./pyhss:/mnt/hss - expose: - - "3868/tcp" - - "3868/sctp" + - ./config.yaml:/pyhss/config.yaml ports: - - "3868:3868/tcp" - - "3868:3868/sctp" - networks: - default: - ipv4_address: ${HSS_IP} + - "8080:8080" # REST API + - "3868:3868" # Diameter \ No newline at end of file