-
Notifications
You must be signed in to change notification settings - Fork 30
/
.env.dev.example
64 lines (47 loc) · 1.33 KB
/
.env.dev.example
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
56
57
58
59
60
61
62
63
64
# This is the full environment file, intended for use with development installations
# Use production if deploying for use
NODE_ENV=development
# Required if using compose
# Password to provide for internal database
DATABASE_PASSWORD=
# Complete connection URI to MariaDB
DATABASE_URL=mysql://test:test@localhost:3306/scholarsome
# Random secret used to validate tokens
JWT_SECRET=testing
# Port to expose Scholarsome on
HTTP_PORT=3333
# Domain that Scholarsome will be running on
HOST=
# Redis server details
REDIS_HOST=localhost
REDIS_PORT=6379
REDIS_USERNAME=
REDIS_PASSWORD=
# Data storage configuration
STORAGE_TYPE=local
# Required if storage type is local
# Absolute filepath
STORAGE_LOCAL_DIR=
# Required if storage type is s3
S3_STORAGE_ENDPOINT=
S3_STORAGE_ACCESS_KEY=
S3_STORAGE_SECRET_KEY=
S3_STORAGE_REGION=
S3_STORAGE_BUCKET=
# ---
# Everything past this line is optional
# ---
# Self-explanatory SMTP fields
# Necessary for emails to be sent - otherwise, users are verified by default
SMTP_HOST=localhost
SMTP_PORT=25
SMTP_USERNAME=test
SMTP_PASSWORD=test
# SSL key and cert encoded as base64
SSL_KEY_BASE64=
SSL_CERT_BASE64=
# Recaptcha site key and secret key
SCHOLARSOME_RECAPTCHA_SITE=
SCHOLARSOME_RECAPTCHA_SECRET=
# Additional scripts to be placed on the head of every page encoded in base64
SCHOLARSOME_HEAD_SCRIPTS_BASE64=