File size: 697 Bytes
d70685c
 
 
 
 
 
 
 
7b936ab
d70685c
 
 
 
 
 
 
 
 
 
6d94878
d70685c
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
version: "3.9"

services:
  promptforge:
    build: .
    container_name: promptforge
    restart: unless-stopped
    ports:
      - "7860:7860"
    volumes:
      - ./logs:/app/logs          # Persist prompt history
    environment:
      # ── AI Provider keys (set in .env file, never commit) ──────────
      # GOOGLE_API_KEY: set via .env or deployment secret manager
      # HF_API_KEY: set via .env or deployment secret manager
      LOG_DIR: /app/logs
    env_file:
      - .env                       # Create from .env.example
    healthcheck:
      test: ["CMD", "curl", "-f", "http://localhost:7860/health"]
      interval: 30s
      timeout: 5s
      retries: 3