-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
53 lines (43 loc) · 1.61 KB
/
Copy path.env.example
File metadata and controls
53 lines (43 loc) · 1.61 KB
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
CAS_PROTOCOL=CAS
# OpenID Connect Configuration
CAMPUS_CLIENT_ID=calendint
CAMPUS_CLIENT_SECRET=<something generated by your oidc server>
CAMPUS_METADATA_URL=https://keycloak.minet.net/realms/MiNET/.well-known/openid-configuration
# Apereo CAS
CAS_SERVER_URL=<cas server>
# Application Configuration
APP_BASE_URL=https://cal-local.minet.net
# This shouldn't affect much, but might help with some weird clients
APP_TIMEZONE="Europe/Paris"
# Secret key for session middleware (OIDC)
SECRET_KEY=<long string>
MINIO_ROOT_USER=miniroot
MINIO_ROOT_PASSWORD=<another long string>
POSTGRES_PASSWORD=<another one>
# LDAP Scrapper
LDAP_BASE_DN=<base dn of your ldap server>
LDAP_PORT=<port of your ldap server>
LDAP_HOST=<ip of your ldap server>
LDAP_IGNORE_CERTS=true
# Mails
SMTP_HOST=smtp.minet.net
SMTP_PORT=25
SMTP_USER=
SMTP_PASSWORD=
EMAILS_FROM_EMAIL=calendint@minet.net
EMAILS_FROM_NAME="Calend'INT by MiNET"
# Push notifications
VAPID_PUBLIC_KEY=<see README.md>
VAPID_PRIVATE_KEY=<see README.md>
ADMIN_EMAIL=mailto:calendint@minet.net
CRON_DELAY=900
# HelloAsso Payment Integration
# API base URL — defaults to sandbox; change to https://api.helloasso.com for production
HELLOASSO_BASE_URL=https://api.helloasso-sandbox.com
# Public base URL sent to HelloAsso as backUrl/returnUrl/errorUrl.
# Must be publicly reachable (HTTPS). In dev, use a tunnel:
# ssh -N -o ServerAliveInterval=30 -R 8080:localhost:443 root@157.159.40.12 (for example)
# Defaults to APP_BASE_URL if not set.
HELLOASSO_REDIRECT_BASE_URL=
# Generate with: python -c "from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())"
TOKEN_ENCRYPTION_KEY=