-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
37 lines (26 loc) · 1.2 KB
/
.env.example
File metadata and controls
37 lines (26 loc) · 1.2 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
# Render.com Environment Variables Template
# Copy this file and set the appropriate values for your Render.com deployment
# Backend API Environment Variables
# ---------------------------------
# Database connection string (automatically provided by Render.com PostgreSQL service)
# Format: postgresql://username:password@host:port/database
# DATABASE_URL=postgresql://user:password@hostname:5432/stoic_wisdom
# Application port (Render.com sets this automatically)
PORT=3000
# Logging level
RUST_LOG=info
# Frontend Environment Variables
# -------------------------------
# Backend API base URL (set to your Render.com backend service URL)
# NEXT_PUBLIC_API_BASE_URL=https://stoic-wisdom-api.onrender.com
# Frontend port (Render.com sets this automatically)
# PORT=3000
# Local Development (SQLite)
# --------------------------
# For local development with SQLite, uncomment the following:
# DATABASE_URL=sqlite:stoic_wisdom.db
# Local Development (PostgreSQL via Docker)
# -----------------------------------------
# For local development with PostgreSQL, use docker-compose and uncomment:
# DATABASE_URL=postgresql://postgres:postgres@localhost:5432/stoic_wisdom
# NEXT_PUBLIC_API_BASE_URL=http://localhost:3000