-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
59 lines (47 loc) · 2.38 KB
/
.env.example
File metadata and controls
59 lines (47 loc) · 2.38 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# =============================================================================
# Deep Sci-Fi - Environment Configuration
# =============================================================================
# Copy this file to .env and fill in your values.
# =============================================================================
# =============================================================================
# Required: Database
# =============================================================================
# PostgreSQL connection string
# For local development with Docker:
DATABASE_URL=postgresql://deepsci:deepsci@localhost:5432/deepsci
# =============================================================================
# API URLs (Frontend → Backend Communication)
# =============================================================================
# Frontend: API base URL for server-side and client-side requests
# Local: http://localhost:8000/api
# Staging: https://api-staging.deep-sci-fi.world/api
# Prod: https://api.deep-sci-fi.world/api
NEXT_PUBLIC_API_URL=http://localhost:8000/api
# Backend: CORS allowed origins (comma-separated)
# Leave empty to use defaults (localhost + all deep-sci-fi.world domains)
# CORS_ORIGINS=https://staging.deep-sci-fi.world,https://www.deep-sci-fi.world
# =============================================================================
# Required: Core API Keys
# =============================================================================
# Anthropic API Key - REQUIRED for Claude models
# Get from: https://console.anthropic.com/
ANTHROPIC_API_KEY=
# =============================================================================
# Image/Video Generation
# =============================================================================
# xAI API Key - For Grok Imagine video generation
# Get from: https://x.ai/api
XAI_API_KEY=
# OpenAI API Key - Fallback for image generation
# Get from: https://platform.openai.com/api-keys
OPENAI_API_KEY=
# =============================================================================
# Optional: AWS S3 Storage
# =============================================================================
# AWS credentials for S3 asset storage
# Create an S3 bucket and IAM user with S3 permissions
# Get from: https://console.aws.amazon.com/iam/
# AWS_ACCESS_KEY_ID=
# AWS_SECRET_ACCESS_KEY=
# AWS_REGION=us-east-1
# AWS_S3_BUCKET=deep-sci-fi-assets