ai-agent / docker-compose.yml
katospiegel's picture
Deploy develop: FastAPI+React frontend, multi-stage Docker (ai_agent serve)
07c2476 verified
Raw
History Blame Contribute Delete
634 Bytes
services:
ai-agent:
build: .
image: ai-agent:dev
container_name: ai-agent
restart: unless-stopped
env_file: .env
environment:
HOST: 0.0.0.0
PORT: "7860"
expose:
- "7860"
volumes:
- ./data:/home/user/app/data
- ./dataset:/home/user/app/dataset
- ./artifacts:/home/user/app/artifacts
- ./logs:/home/user/app/logs
cloudflared:
image: cloudflare/cloudflared:latest
container_name: ai-agent-cloudflared
restart: unless-stopped
command: tunnel --no-autoupdate --url http://ai-agent:7860
depends_on:
- ai-agent