Added docker-compose capability

This commit is contained in:
2025-07-07 15:12:34 +09:30
parent b22165c31e
commit 35f57ddb79
11 changed files with 287 additions and 40 deletions
+1 -1
View File
@@ -14,7 +14,7 @@ REDIS_HOST = "localhost"
REDIS_PORT = 6379
# Database configuration
DATABASE_URL = "mysql://root:password@172.17.0.1:3306/defaultdb"
DATABASE_URL = "mysql://root:password@172.17.0.1:3306/theapi"
# Connection pool for Redis
redis_connection_pool = redis.ConnectionPool(
+2 -1
View File
@@ -50,4 +50,5 @@ def start_background_threads():
if __name__ == "__main__":
start_background_threads()
base.socketio.run(app, host="0.0.0.0", port=6001)
# TODO - Remove allow_unsafe_werkzeug
base.socketio.run(app, host="0.0.0.0", port=6001,allow_unsafe_werkzeug=True )