diff --git a/config.py b/config.py index 35cd68e..ac88ff1 100644 --- a/config.py +++ b/config.py @@ -39,7 +39,7 @@ GRPC_PORT = "5003" try: - MOZI_URI = os.environ["MOZI_URI"] + MOZI_URI = f"{os.environ['MOZI_URI']}:{APP_PORT}" except KeyError: MOZI_URI = "http://locahost:8080" diff --git a/docker-compose-dev.yml b/docker-compose-dev.yml index 8601a76..df83bfb 100644 --- a/docker-compose-dev.yml +++ b/docker-compose-dev.yml @@ -23,7 +23,7 @@ services: - SCAN_INTERVAL=86400 - APP_PORT=${APP_PORT} - SERVICE_ADDR=${SERVICE_ADDR} - - MOZI_URI=http://localhost:8080 + - MOZI_URI=http://localhost working_dir: /home/root/mozi_snet_service