From d912490eb08ccd975febfc0463e265080735ef7c Mon Sep 17 00:00:00 2001 From: Patrick Westphal Date: Tue, 16 May 2023 16:55:27 +0200 Subject: [PATCH] Fix network settings for Docker deployment --- docker-compose.yml | 2 +- main.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 35e66b3..b716990 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,6 +2,6 @@ services: search-engine: build: . ports: - - 6000:7860 + - 6000:5002 restart: unless-stopped diff --git a/main.py b/main.py index 7b59fae..e07630e 100644 --- a/main.py +++ b/main.py @@ -66,4 +66,4 @@ def openalex_search(): if __name__ == "__main__": - app.run(debug=True, port=5002) + app.run(host='0.0.0.0', port=5002, debug=True)