contentai / docker-compose.yml
webmazta
Add Docker app setup
cecad47
Raw History Blame Contribute Delete
559 Bytes
services:
content-agent:
build:
context: .
dockerfile: Dockerfile
image: insta-to-wp-content-agent:latest
container_name: content-agent
env_file:
- .env
environment:
PORT: 7860
HUGGING_FACE_SPACES: "true"
ports:
- "7860:7860"
volumes:
- content-agent-data:/data
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-fsS", "http://127.0.0.1:7860/health"]
interval: 30s
timeout: 10s
retries: 3
start_period: 30s
volumes:
content-agent-data: