fixed the composed file network
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user