added docker-compose and changed port to 5000
This commit is contained in:
@@ -63,5 +63,5 @@ def api_scores():
|
||||
return jsonify(get_social_scores_dict(addrbook))
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host="0.0.0.0", port=8080, debug=True, use_reloader=False)
|
||||
app.run(host="0.0.0.0", port=5000, debug=True, use_reloader=False)
|
||||
pass
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
services:
|
||||
socialwatch:
|
||||
image: git.magnusku.de/magnus/socialwatch:latest
|
||||
container_name: socialwatch
|
||||
env_file:
|
||||
- .env
|
||||
ports:
|
||||
- "5000:5000"
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user