-
Notifications
You must be signed in to change notification settings - Fork 2
/
env_example
54 lines (39 loc) · 1.8 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
##########################
# TiBillet / Lespass
# All the env are needed
##########################
# Secret
DJANGO_SECRET='' # see documentation to create one
FERNET_KEY='' # see documentation to create one
STRIPE_KEY='' # from your stripe account
# or
STRIPE_KEY_TEST=''
STRIPE_TEST=0 # set to 1 for use stripe test env
# Database
POSTGRES_PASSWORD='' # strong ! use a generated fernet key
POSTGRES_USER='lespass_postgres' # you can change it on production
POSTGRES_DB='lespass'
TIME_ZONE='Europe/Paris' # or where you are
PUBLIC='TiBillet Coop.' # The name of the root instance
DOMAIN='tibillet.localhost' # for the wildcard : without subdomain ! ex : tibillet.coop, not lespass.tibillet.coop
SUB='lespass' # the sub domain of your first place ex : if 'festival', it will be accessible on https://festival.tibillet.coop. Set lespass for dev/test.
META='agenda' # the federated agenda for all events on all tenants. If 'agenda', it will be accessible, for exemple, on https://agenda.tibillet.coop
ADDITIONAL_DOMAINS='' # optional - add additional domain for SaaS model, séparated with comma. ex : 'domainbis.localhost,domainter.localhost'
ADMIN_EMAIL='' # needed for the first admin account
FEDOW_DOMAIN='fedow.tibillet.localhost' # the same as Fedow
#### OPTIONAL ENV
# For transactionnal email.
# Required on prod or if you want to test... emails !
# Not required on dev' env.
EMAIL_HOST=''
EMAIL_PORT=''
EMAIL_HOST_USER='' # Not required for local mail server
EMAIL_HOST_PASSWORD='' # Not required for local mail server
DEFAULT_FROM_EMAIL='' # If empty, we use the EMAIL_HOST_USER
# Usefull for dev/test
# Auto login for admin, no https cert' verification, demonstration data, auto database flush, etc ...
# don't set 1 to production !
TEST=0
DEBUG=0
# If you have already linked an account on stripe
STRIPE_CONNECT_ACCOUNT=''