Skip to content

Commit 7723326

Browse files
committed
revert: readded the .env.example file
1 parent 4c6b512 commit 7723326

File tree

1 file changed

+81
-0
lines changed

1 file changed

+81
-0
lines changed

.env.example

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# Environment
2+
NODE_ENV=development
3+
4+
# Ports
5+
PORT=3000
6+
7+
# URLs
8+
# These URLs must reference a publicly accessible domain or IP address, not a docker container ID (depending on your compose setup)
9+
PUBLIC_URL=http://localhost:3000
10+
STORAGE_URL=http://localhost:9000/default # default is the bucket name specified in the STORAGE_BUCKET variable
11+
12+
# Database (Prisma/PostgreSQL)
13+
# This can be swapped out to use any other database, like MySQL
14+
# Note: This is used only in the compose.yml file
15+
POSTGRES_PORT=5432
16+
POSTGRES_DB=postgres
17+
POSTGRES_USER=postgres
18+
POSTGRES_PASSWORD=postgres
19+
20+
# Database (Prisma/PostgreSQL)
21+
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres?schema=public
22+
23+
# Authentication Secrets
24+
# generated with `openssl rand -base64 64`
25+
ACCESS_TOKEN_SECRET=access_token_secret
26+
REFRESH_TOKEN_SECRET=refresh_token_secret
27+
28+
# Chrome Browser (for printing)
29+
# generated with `openssl rand -hex 32`
30+
CHROME_PORT=8080
31+
CHROME_TOKEN=chrome_token
32+
CHROME_URL=ws://localhost:8080
33+
# Launch puppeteer with flag to ignore https errors
34+
# CHROME_IGNORE_HTTPS_ERRORS=true
35+
36+
# Mail Server (for e-mails)
37+
# For testing, you can use https://ethereal.email/create
38+
MAIL_FROM=noreply@localhost
39+
# SMTP_URL=smtp://username:[email protected]:587
40+
41+
# Storage
42+
STORAGE_ENDPOINT=localhost
43+
STORAGE_PORT=9000
44+
STORAGE_REGION=us-east-1
45+
STORAGE_BUCKET=default
46+
STORAGE_ACCESS_KEY=minioadmin
47+
STORAGE_SECRET_KEY=minioadmin
48+
STORAGE_USE_SSL=false
49+
STORAGE_SKIP_BUCKET_CHECK=false
50+
51+
# Nx Cloud (Optional)
52+
# NX_CLOUD_ACCESS_TOKEN=
53+
54+
# Crowdin (Optional)
55+
# CROWDIN_PROJECT_ID=
56+
# CROWDIN_PERSONAL_TOKEN=
57+
58+
# Feature Flags (Optional)
59+
# DISABLE_SIGNUPS=false
60+
# DISABLE_EMAIL_AUTH=false
61+
62+
# GitHub (OAuth, Optional)
63+
# GITHUB_CLIENT_ID=
64+
# GITHUB_CLIENT_SECRET=
65+
# GITHUB_CALLBACK_URL=http://localhost:5173/api/auth/github/callback
66+
67+
# Google (OAuth, Optional)
68+
# GOOGLE_CLIENT_ID=
69+
# GOOGLE_CLIENT_SECRET=
70+
# GOOGLE_CALLBACK_URL=http://localhost:5173/api/auth/google/callback
71+
72+
# OpenID (Optional)
73+
# VITE_OPENID_NAME=
74+
# OPENID_AUTHORIZATION_URL=
75+
# OPENID_CALLBACK_URL=http://localhost:5173/api/auth/openid/callback
76+
# OPENID_CLIENT_ID=
77+
# OPENID_CLIENT_SECRET=
78+
# OPENID_ISSUER=
79+
# OPENID_SCOPE=openid profile email
80+
# OPENID_TOKEN_URL=
81+
# OPENID_USER_INFO_URL=

0 commit comments

Comments
 (0)