Skip to content

Commit 6582a8c

Browse files
committed
Restore .env.example as requested
1 parent 6f2c3e5 commit 6582a8c

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

backend/.env.example

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# ============================================================================================
2+
# IMPORTANT: DO NOT DELETE THIS FILE
3+
# --------------------------------------------------------------------------------------------
4+
# This `.env.example` file is required for the repository. It serves as a reference template
5+
# showing the environment variables needed to run the project. Actual values must be provided
6+
# via Infisical or your own `.env` file, but this file should remain in version control.
7+
#
8+
# For setup instructions and details on configuring environment variables, see:
9+
# https://docs.heygaia.io/configuration/environment-variables
10+
# ============================================================================================
11+
12+
# Environment Configuration
13+
ENV=development # Environment type: development, staging, production
14+
DISABLE_PROFILING=true # Disable performance profiling in non-production environments
15+
16+
# Infisical Secrets Management
17+
# Required for fetching secrets and API keys from Infisical
18+
INFISICAL_PROJECT_ID= # Project ID from Infisical dashboard
19+
INFISICAL_MACHINE_INDENTITY_CLIENT_ID= # Machine identity client ID for authentication
20+
INFISICAL_MACHINE_INDENTITY_CLIENT_SECRET= # Machine identity client secret for authentication
21+
22+
# Optional: LangSmith for tracing (can also be stored in Infisical)
23+
LANGSMITH_TRACING=false # Enable LangSmith tracing
24+
LANGSMITH_API_KEY= # LangSmith API key
25+
26+
# Note: All other API keys should be stored in Infisical, not in this .env file
27+
# This includes: OPENAI_API_KEY, GEMINI_API_KEY, etc.

frontend/.env.example

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# GAIA Frontend Environment Variables
2+
#
3+
# NOTE: These are local environment variables for the frontend. While Infisical
4+
# can be used for frontend secrets, most frontend environment variables are
5+
# typically configured locally since they're needed during build time.
6+
#
7+
# Read more about environment variables: https://docs.heygaia.io/self-hosting/environment-variables
8+
# Learn about Infisical setup: https://docs.heygaia.io/self-hosting/infisical-setup
9+
10+
NEXT_PUBLIC_API_BASE_URL=http://localhost:8000/api/v1/
11+
12+
# Blog management bearer token (for creating/editing/deleting blog posts)
13+
NEXT_PUBLIC_BLOG_BEARER_TOKEN=your-blog-token-here

0 commit comments

Comments
 (0)