Updated the dockercompose
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user