-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.example.env
More file actions
30 lines (27 loc) · 1.4 KB
/
.example.env
File metadata and controls
30 lines (27 loc) · 1.4 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
# PRISMA
POSTGRES_URL="postgresql://username:password@host:port/databasename?schema=public"
# Local: POSTGRES_URL="postgresql://elfensky:supersecretpassword123@127.0.0.1:5432/helldivers1api?schema=public"
# Docker: POSTGRES_URL="postgresql://elfensky:supersecretpassword123@host.docker.internal:5432/helldivers1api?schema=public"
SKIP_MIGRATIONS="false" # Set to "true" when using separate migrate container (docker-compose)
# UPDATE // API key for the update endpoint
UPDATE_KEY="fcb19795-474f-4ff1-aa21-5d36b81167ba"
UPDATE_INTERVAL="20" # update interval in seconds
# ANALYTICS
UMAMI_SITE_URL="your.umami.domain" # without https or port
UMAMI_SITE_ID="your-umami-site-id"
SENTRY_AUTH_TOKEN="secret_sentry_token"
# AUTH
AUTH_SECRET="long-random-hexadecimal-string-at-least-32-characters-long-but-ought-to-be-128-characters-long"
AUTH_TRUST_HOST="true"
# --- Discord Provider
AUTH_DISCORD_ID="0000000000000000000" # can be found in the discord developer portal
AUTH_DISCORD_SECRET="AAAAAAAAAAA_BBBBBBBBBBBBBBBB" # can be found in the discord developer portal
# --- Google Provider
AUTH_GOOGLE_ID="000000000000-aaaaaaaaaaaaaaaaaaaaaa.apps.googleusercontent.com"
AUTH_GOOGLE_SECRET="GOOGLE-aaaaaaaaaaaaaaa-BLA"
# --- Nodemailer
EMAIL_SERVER_USER="smtp-username"
EMAIL_SERVER_PASSWORD="smtp-password"
EMAIL_SERVER_HOST="smtp-host-domain"
EMAIL_SERVER_PORT="587" # smtp port. Usually 25, 587 or 465.
EMAIL_FROM="your.email@from.domain"