tweaks to support running in docker
This commit is contained in:
@@ -10,7 +10,7 @@ from sqlalchemy.orm import sessionmaker, declarative_base
|
||||
import pymysql
|
||||
|
||||
# Redis configuration
|
||||
REDIS_HOST = "localhost"
|
||||
REDIS_HOST = "172.17.0.1"
|
||||
REDIS_PORT = 6379
|
||||
|
||||
# Database configuration
|
||||
|
||||
@@ -11,7 +11,7 @@ from websocket_server.shared_state import connected_workers, worker_lock
|
||||
logger = logging.getLogger("websocket_server")
|
||||
|
||||
# API server endpoint
|
||||
api_server_url = "http://127.0.0.1:5000/api"
|
||||
api_server_url = "http://172.17.0.1:5000/api"
|
||||
|
||||
# Tracks threads for each worker
|
||||
worker_threads = {}
|
||||
|
||||
Reference in New Issue
Block a user