-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
23 lines (21 loc) · 822 Bytes
/
.env.example
File metadata and controls
23 lines (21 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Server configuration
PORT= 3000 # default 3000
APP_ORIGIN="http://localhost:3000" # This service URL (type http or https correctly)
ENABLE_REDIS_CACHE=true # default true
ENABLE_FALLBACK_CACHE=true # default true - in app memory cache
REDIS_URL="" # e.g. redis://:password@127.0.0.1:6379
NEXT_PUBLIC_ENVIRONMENT="localhost" # staging | testing | production | localhost
IMAGE_OPTIMIZATION="yes" # yes | no
REQUIRE_HTTPS=true # This works only in production environments
# DATABASE (PostgreSQL)
DATABASE_URL=""
# Localization
# You can these from https://app.tolgee.io/
# NEXT_PUBLIC_TOLGEE_API_KEY=""
# NEXT_PUBLIC_TOLGEE_API_URL=""
# NEXT_PUBLIC_TOLGEE_PROJECT_ID=""
# SENTRY (For error logging)
SENTRY_ORG="example"
SENTRY_PROJECT="example"
SENTRY_AUTH_TOKEN="example"
NEXT_PUBLIC_SENTRY_DSN="https://CHANGE_ME.com"