version: "3.8"
services:
  docfast:
    build: .
    restart: unless-stopped
    ports:
      - "127.0.0.1:3100:3100"
    environment:
      - API_KEYS=${API_KEYS}
      - PORT=3100
      - NODE_ENV=production
      - STRIPE_SECRET_KEY=${STRIPE_SECRET_KEY}
      - STRIPE_WEBHOOK_SECRET=${STRIPE_WEBHOOK_SECRET}
      - BASE_URL=${BASE_URL:-https://docfast.dev}
      - PRO_KEYS=${PRO_KEYS}
    volumes:
      - docfast-data:/app/data
    mem_limit: 512m
    cpus: 1.0

volumes:
  docfast-data:
