forked from eyermt/moss
-
-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy path.env.example
More file actions
26 lines (22 loc) · 916 Bytes
/
.env.example
File metadata and controls
26 lines (22 loc) · 916 Bytes
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
# Example Environment Variables
# --- PostgreSQL Config ---
POSTGRES_USER=moss_user
POSTGRES_PASSWORD=your_secure_password
POSTGRES_DB=moss_db
POSTGRES_HOST=localhost
POSTGRES_PORT=5432
# --- Redis Config ---
REDIS_HOST=localhost
REDIS_PORT=6379
# --- Application URLs (for internal use) ---
DATABASE_URL=postgresql://moss_user:your_secure_password@localhost:5432/moss_db
CELERY_BROKER_URL=redis://localhost:6379/0
CELERY_RESULT_BACKEND_URL=redis://localhost:6379/1
# --- External APIs ---
# Select the "Public repositories" option for repository access
# Generate one at: https://github.com/settings/personal-access-tokens
GITHUB_API_TOKEN=ghp_YourGitHubTokenHere
# Email address for OpenAlex polite pool (helps with rate limits)
# See: https://docs.openalex.org/how-to-use-the-api/rate-limits-and-authentication#the-polite-pool
OPENALEX_EMAIL=your.email@example.com
VITE_API_BASE_URL=http://0.0.0.0:8000/api/v1