-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.template
50 lines (40 loc) · 2.05 KB
/
.env.template
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
# Template - Copy content to `.env` file and add missing (secret) values
# Set this to 'local' in local development.
# - sets origin to localhost
# - configures cookie handling
ENVIRONMENT=local
EDITOR_URL=http://localhost:3000/
# Secret to enable media upload
SERLO_EDITOR_TESTING_SECRET=
# Symmetric HS256 key used by ltijs to sign ltik and database entries & to sign the jwt access token
# Changing this value can lead to issues in ltijs because existing mongodb database entries are expecting the previous key. Clear mongodb to solve the issue.
LTIJS_KEY=DONOTUSETHISKEYINPRODUCTION
MYSQL_URI=mysql://root:secret@localhost:3306/serlo
# https://www.mongodb.com/docs/drivers/go/current/fundamentals/connections/connection-guide/#connection-uri
MONGODB_URI=mongodb://localhost:27017/
# Assets bucket
S3_ENDPOINT=https://s3.eu-central-3.ionoscloud.com/
BUCKET_NAME=editor-media-assets-development
BUCKET_REGION=eu-central-3
BUCKET_ACCESS_KEY_ID=
BUCKET_SECRET_ACCESS_KEY=
MEDIA_BASE_URL=https://editor.serlo.dev #TODO: should be staging later
# LTI platform: itslearning (staging)
ITSLEARNING_URL=
ITSLEARNING_NAME=
ITSLEARNING_AUTHENTICATION_ENDPOINT="$ITSLEARNING_URL/connect/authorize"
ITSLEARNING_ACCESS_TOKEN_ENDPOINT="$ITSLEARNING_URL/connect/token"
ITSLEARNING_KEYSET_ENDPOINT="$ITSLEARNING_URL/.well-known/openid-configuration/jwks"
SERLO_EDITOR_CLIENT_ID_ON_ITSLEARNING=
# LTI platform: edu-sharing (RLP) (staging)
EDUSHARING_RLP_URL=
EDUSHARING_RLP_NAME="$EDUSHARING_RLP_URL"
EDUSHARING_RLP_AUTHENTICATION_ENDPOINT="$EDUSHARING_RLP_URL/rest/ltiplatform/v13/auth"
EDUSHARING_RLP_ACCESS_TOKEN_ENDPOINT="$EDUSHARING_RLP_URL/rest/ltiplatform/v13/token"
EDUSHARING_RLP_KEYSET_ENDPOINT="$EDUSHARING_RLP_URL/rest/lti/v13/jwks"
SERLO_EDITOR_CLIENT_ID_ON_EDUSHARING_RLP=
# LTI tool: edu-sharing (RLP) (staging)
EDUSHARING_RLP_LOGIN_ENDPOINT="$EDUSHARING_RLP_URL/rest/lti/v13/oidc/login_initiations"
EDUSHARING_RLP_LAUNCH_ENDPOINT="$EDUSHARING_RLP_URL/rest/lti/v13/lti13"
EDUSHARING_RLP_DETAILS_ENDPOINT="$EDUSHARING_RLP_URL/rest/lti/v13/details"
EDUSHARING_RLP_CLIENT_ID_ON_SERLO_EDITOR=