fixed the composed file network

This commit is contained in:
2026-02-11 00:42:22 +08:00
parent 76ed0d2063
commit 3e35b18dce

View File

@@ -2,11 +2,17 @@ services:
ai-gateway: ai-gateway:
build: . build: .
container_name: ai-gateway container_name: ai-gateway
expose:
- "8191"
environment: environment:
- PYTHONUNBUFFERED=1 - PYTHONUNBUFFERED=1
env_file: env_file:
- .env - .env
ports: networks:
- "8000:8000" - gateway_net
restart: always restart: always
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 command: uvicorn app.main:app --host 0.0.0.0 --port 8191
networks:
gateway_net:
external: true