Skip to content

Commit

Permalink
Fix network settings for Docker deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Westphal committed May 16, 2023
1 parent e339b0d commit d912490
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ services:
search-engine:
build: .
ports:
- 6000:7860
- 6000:5002
restart: unless-stopped

2 changes: 1 addition & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit d912490

Please sign in to comment.