-
Notifications
You must be signed in to change notification settings - Fork 2
/
.env.example
68 lines (60 loc) · 2.12 KB
/
.env.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
65
66
67
SECRET_KEY=secret
IS_ACCEPTANCE=False
DEBUG=True
LOGGING_LEVEL=DEBUG
LOGGING_LEVEL_ROOT=INFO
BASE_URL=http://localhost:8001
ALLOWED_HOSTS=*
CORS_ORIGIN_WHITELIST=http://localhost:8040
STATIC_ROOT=/app/scouts_kampvisum_api/static/
# Database
DBENGINE=django.db.backends.postgresql
DBNAME=scouts-kampvisum
DBHOST=postgres
DBPORT=5432
DBUSER=root
DBPASSWORD=secret
# OIDC
OIDC_OP_ISSUER=https://login.scoutsengidsenvlaanderen.be/auth/realms/scouts
OIDC_OP_JWKS_ENDPOINT=/.well-known/openid-configuration
OIDC_OP_AUTHORIZATION_ENDPOINT=/protocol/openid-connect/auth
OIDC_OP_TOKEN_ENDPOINT=/protocol/openid-connect/token
OIDC_OP_USER_ENDPOINT=https://groepsadmin.scoutsengidsenvlaanderen.be/groepsadmin/rest-ga/lid/profiel
OIDC_RP_CLIENT_ID=werkwinkeldatabank
OIDC_RP_CLIENT_SECRET=1243ecd8-0933-4992-b493-c29f26d9bea4
OIDC_RP_SIGN_ALGO=RS256
# FILE STORAGE
DEFAULT_FILE_STORAGE=scouts_auth.inuits.files.aws.S3StorageService
; FILE_UPLOAD_ALLOWED_EXTENSIONS=pdf,jpg,jpeg,png,webp,doc,docx,xls,xlsx
FILE_UPLOAD_ALLOWED_EXTENSIONS=*
OVERWRITE_EXISTING_FILE=True
# S3
USE_S3_STORAGE=true
S3_ACCESS_KEY=minio
S3_ACCESS_SECRET=minio_secret
S3_ENDPOINT_URL=http://minio:9000
S3_STORAGE_BUCKET_NAME=kampvisum-api
# SCOUTS
GROUP_ADMIN_BASE_URL=https://groepsadmin.scoutsengidsenvlaanderen.be/groepsadmin/rest-ga
KNOWN_ADMIN_GROUPS=X0001G,X0002G,X0015G,X1027G
KNOWN_TEST_GROUPS=X9002G,X9004G,X9006G,X9007G,X9008G,X9009G
KNOWN_ROLES=role_section_leader,role_group_leader,role_district_commissioner,role_administrator
SECTION_LEADER_IDENTIFIER=Leiding
# EMAIL RESOURCES
EMAIL_TEMPLATE=None
RESOURCES_PATH=resources/
RESOURCES_MAIL_TEMPLATE_PATH=mail/
RESOURCES_MAIL_TEMPLATE_START=scouts_mail_template_start.html
RESOURCES_MAIL_TEMPLATE_END=scouts_mail_template_end.html
# DJANGO EMAIL SETTINGS (DEFAULT)
EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
EMAIL_URL=smtp://mailcatcher:1025
EMAIL_SENDER=no-reply@localhost
EMAIL_HOST=mailcatcher
EMAIL_PORT=1025
# SEND_IN_BLUE EMAIL SETTINGS
USE_SEND_IN_BLUE=True
SEND_IN_BLUE_BACKEND=anymail.backends.sendinblue.EmailBackend
# SEND_IN_BLUE API KEY FOR SCOUTS
SEND_IN_BLUE_API_KEY=secret