Updated the dockercompose

This commit is contained in:
2026-02-10 21:12:43 +08:00
parent 1fba549359
commit c00396756c

View File

@@ -1,9 +1,11 @@
services: services:
api: api:
build: . build: .
container_name: storyline-ai-gateway container_name: ai-gateway
ports: networks:
- "8191:8000" - caddy_network
#ports:
# - "8000:8000"
env_file: env_file:
- .env - .env
restart: always restart: always
@@ -11,3 +13,8 @@ services:
- .:/app - .:/app
# Override command for development/auto-reload if needed # Override command for development/auto-reload if needed
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
networks:
caddy_network:
# Define the network at the bottom
external: true