added docker-compose and changed port to 5000

This commit is contained in:
2026-08-16 23:14:01 +02:00
parent 88fac3289d
commit 60251887ac
2 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -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
+9
View File
@@ -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