Skip to content

Commit

Permalink
[fix] ports were mismatched
Browse files Browse the repository at this point in the history
  • Loading branch information
ctr26 committed Oct 3, 2024
1 parent 5807f99 commit 66ad99d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ services:
build: .
image: amun-ai/hypha
container_name: hypha
command: --port 9000 --host=0.0.0.0
command: --port 9520 --host=0.0.0.0
ports:
- 9000:9000
- 9520:9520
2 changes: 1 addition & 1 deletion tests/test_containers.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ def test_server_response():
time.sleep(5)

# Docker Compose typically uses the service name as the hostname
host, port = compose.get_service_host_and_port("hypha", 9000)
host, port = compose.get_service_host_and_port("hypha", 9520)

# Construct the URL to test
url = f"http://{host}:{port}"
Expand Down

0 comments on commit 66ad99d

Please sign in to comment.