Added docker-compose capability
This commit is contained in:
@@ -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(
|
||||
|
||||
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user