-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env
55 lines (46 loc) · 1.74 KB
/
.env
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# NextJS parameters
TZ=Europe/Paris
NEXT_LOGGING=true
NEXT_PUBLIC_ENV=development
NEXT_PUBLIC_MAX_QUOTA=104857600 # 1024 * 1024 * 100 = 100MB (bytes)
NEXT_PUBLIC_MAX_AVATAR_SIZE=5242880 # 1024 * 1024 * 5 = 5MB (bytes)
NEXT_PUBLIC_ACCEPTED_FILE_TYPES="image/*, video/*, audio/*" # https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/accept
NEXT_PUBLIC_ACCEPTED_AVATAR_TYPES="image/jpeg, image/jpg, image/png, image/webp"
# Sentry parameters
SENTRY_ENABLED=false
SENTRY_DSN=https://url.to.sentry.io/1234567890
SENTRY_ORG=org
SENTRY_PROJECT=project
SENTRY_AUTH_TOKEN=token
# Google Analytics and reCAPTCHA keys
NEXT_PUBLIC_RECAPTCHA_ENABLED=false
NEXT_PUBLIC_RECAPTCHA_PUBLIC_KEY=6Ldxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
RECAPTCHA_SECRET_KEY=6Ldxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
NEXT_PUBLIC_ANALYTICS_ENABLED=false
NEXT_PUBLIC_ANALYTICS_TAG=G-XXXXXXXXXX
# Database credentials
DATABASE_TYPE=mysql
DATABASE_HOST=mariadb
DATABASE_PORT=3306
DATABASE_NAME=simple_file_storage
DATABASE_USERNAME=username
DATABASE_PASSWORD=password
DATABASE_URL="${DATABASE_TYPE}://${DATABASE_USERNAME}:${DATABASE_PASSWORD}@${DATABASE_HOST}:${DATABASE_PORT}/${DATABASE_NAME}"
# SMTP and DKIM credentials
SMTP_HOST=smtp.example.com
SMTP_PORT=587
SMTP_USERNAME=username
SMTP_PASSWORD=password
DKIM_DOMAIN=example.com
DKIM_SELECTOR=selector
DKIM_PRIVATE_KEY=file:///path/to/private-key.key
# Authentication parameters
AUTH_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# Google OAuth credentials
NEXT_PUBLIC_AUTH_GOOGLE_ENABLED=false
AUTH_GOOGLE_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
AUTH_GOOGLE_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
# GitHub OAuth credentials
NEXT_PUBLIC_AUTH_GITHUB_ENABLED=false
AUTH_GITHUB_ID=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
AUTH_GITHUB_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx