File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -44,9 +44,9 @@ services:
4444 ports :
4545 - " ${AGENT_CONTROL_SERVER_HOST_PORT:-8000}:8000"
4646 environment :
47- # Database connection ( uses Docker service name 'postgres')
48- # Use postgresql+psycopg:// (supports both sync migrations and async app code)
49- AGENT_CONTROL_DB_URL : " postgresql+psycopg://agent_control:${AGENT_CONTROL_POSTGRES_PASSWORD:-agent_control}@postgres:${AGENT_CONTROL_DB_HOST_PORT:- 5432} /agent_control"
47+ # Database connection uses the Docker service name and the container port.
48+ # AGENT_CONTROL_DB_HOST_PORT only controls the host-side port mapping.
49+ AGENT_CONTROL_DB_URL : " postgresql+psycopg://agent_control:${AGENT_CONTROL_POSTGRES_PASSWORD:-agent_control}@postgres:5432/agent_control"
5050 # Server configuration
5151 AGENT_CONTROL_HOST : 0.0.0.0
5252 AGENT_CONTROL_PORT : 8000
You can’t perform that action at this time.
0 commit comments