File size: 559 Bytes
cecad47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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: