aprhodite/.env.example

33 lines
1.8 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# SexyChat Environment Variables
# Copy to .env and fill in your values. Never commit .env to source control.
# ── Flask ──────────────────────────────────────────────────────────────────
SECRET_KEY=change-me-flask-secret-key
HOST=0.0.0.0
PORT=5000
DEBUG=false
# ── Database ───────────────────────────────────────────────────────────────
# PostgreSQL (Recommended for production)
DATABASE_URL=postgresql://sexchat:sexchat_dev@localhost/sexchat
# SQLite fallback (used if DATABASE_URL is not set)
# DATABASE_URL=sqlite:///sexchat.db
# ── Redis (Socket.IO adapter for multi-worker scale) ───────────────────────
REDIS_URL=redis://localhost:6379
# ── Authentication ─────────────────────────────────────────────────────────
JWT_SECRET=change-me-jwt-secret
# JWT tokens expire after 7 days
# ── Moderator ──────────────────────────────────────────────────────────────
ADMIN_PASSWORD=admin1234
# ── AI + Payment ───────────────────────────────────────────────────────────
# Secret used to validate /api/payment/success webhook calls
PAYMENT_SECRET=change-me-payment-webhook-secret
# Optional: real AI provider keys (leave blank to use mock responses)
# OPENAI_API_KEY=sk-...
# ANTHROPIC_API_KEY=...