Skip to content

Commit bb5915a

Browse files
committed
env example
1 parent 574afb4 commit bb5915a

File tree

2 files changed

+57
-0
lines changed

2 files changed

+57
-0
lines changed

.env.example

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# Domain
2+
# This would be set to the production domain with an env var on deployment
3+
# used by Traefik to transmit traffic and aqcuire TLS certificates
4+
DOMAIN=localhost
5+
# To test the local Traefik config
6+
# DOMAIN=localhost.tiangolo.com
7+
8+
# Used by the backend to generate links in emails to the frontend
9+
FRONTEND_HOST=http://localhost:5173
10+
# In staging and production, set this env var to the frontend host, e.g.
11+
# FRONTEND_HOST=https://dashboard.example.com
12+
13+
# Environment: local, staging, production
14+
ENVIRONMENT=local
15+
16+
PROJECT_NAME="TemplateForge AI"
17+
STACK_NAME=full-stack-fastapi-project
18+
19+
# Backend
20+
BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173,http://localhost.tiangolo.com"
21+
SECRET_KEY=changethis
22+
FIRST_SUPERUSER=admin@example.com
23+
FIRST_SUPERUSER_PASSWORD=changethis
24+
25+
# Emails
26+
SMTP_HOST=
27+
SMTP_USER=
28+
SMTP_PASSWORD=
29+
EMAILS_FROM_EMAIL=info@example.com
30+
SMTP_TLS=True
31+
SMTP_SSL=False
32+
SMTP_PORT=587
33+
34+
# Postgres
35+
POSTGRES_SERVER=localhost
36+
POSTGRES_PORT=5432
37+
POSTGRES_DB=app
38+
POSTGRES_USER=postgres
39+
POSTGRES_PASSWORD=changethis
40+
41+
SENTRY_DSN=
42+
43+
# Google OAuth (Web client ID)
44+
GOOGLE_OAUTH_CLIENT_ID=your-google-web-client-id.apps.googleusercontent.com
45+
46+
# LLM (Gemini)
47+
# Do not commit real keys. Set locally or via CI/CD secret manager.
48+
GEMINI_API_KEY=your-gemini-api-key
49+
GEMINI_MODEL=gemini-2.5-flash-lite
50+
51+
# Configure these with your own Docker registry images
52+
DOCKER_IMAGE_BACKEND=backend
53+
DOCKER_IMAGE_FRONTEND=frontend

frontend/.env.example

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
VITE_API_URL=http://localhost:8000
2+
VITE_GOOGLE_CLIENT_ID=your-google-web-client-id.apps.googleusercontent.com
3+
VITE_SHOW_DEVTOOLS=false
4+
MAILCATCHER_HOST=http://localhost:1080

0 commit comments

Comments
 (0)