21 lines
422 B
YAML
21 lines
422 B
YAML
services:
|
|
api:
|
|
build: .
|
|
container_name: ai-gateway
|
|
networks:
|
|
- caddy_network
|
|
#ports:
|
|
# - "8000:8000"
|
|
env_file:
|
|
- .env
|
|
restart: always
|
|
volumes:
|
|
- .:/app
|
|
# Override command for development/auto-reload if needed
|
|
command: uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
|
|
|
|
networks:
|
|
caddy_network:
|
|
# Define the network at the bottom
|
|
external: true
|