-
Notifications
You must be signed in to change notification settings - Fork 30
/
.env.docker.example
59 lines (43 loc) · 1.17 KB
/
.env.docker.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
# This example environment file is for installations that use standard Docker containers, and will be supplying their own database credentials
NODE_ENV=production
# Complete connection URI to MariaDB
DATABASE_URL=
# Random secret used to validate tokens
JWT_SECRET=
# Port to expose Scholarsome on
HTTP_PORT=
# Domain that Scholarsome will be running on
HOST=
# Redis server details
REDIS_HOST=
REDIS_PORT=
REDIS_USERNAME=
REDIS_PASSWORD=
# Data storage configuration
STORAGE_TYPE=
# 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=
SMTP_PORT=
SMTP_USERNAME=
SMTP_PASSWORD=
# 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=