-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathenv_example
More file actions
90 lines (70 loc) · 3.06 KB
/
Copy pathenv_example
File metadata and controls
90 lines (70 loc) · 3.06 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
##########################
# TiBillet / Lespass
# All the env are needed
##########################
# Secret
DJANGO_SECRET='^6^$gftxk@nu-4@ld-5r@r^5*7twh@xv7emv17c(1e$q%@6*m2' # see upper to create one
FERNET_KEY='sZG_NSiM11E_y2h_kKoyueJsLPUN2KhKyjFpsU_3dwh=' # see upper to create one
# FEDOW
SECRET_KEY='^6^$gftxk@nu-4@ld-5r@r^5*7twh@xv7emv17c(1e$q%@6*m1' # see documentation to create one
FERNET_KEY='sZG_NSiM11E_y2h_kKoyueJsLPUN2KhKyjFpsU_3dwg=' # see documentation to create one
# Database
POSTGRES_USER='lespass_postgres_user'
POSTGRES_PASSWORD='kKoyueJsLPUN2KhKyjFpsU' # strong ! generate a new fernet for exemple.
POSTGRES_DB='tibillet'
# STRIPE
STRIPE_KEY='' # from your stripe account
STRIPE_KEY_TEST=''
STRIPE_ENDPOINT_SECRET_TEST=''
TEST_STRIPE_CONNECT_ACCOUNT=''
TIME_ZONE='UTC' # 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
DOMAIN_REGEX=^.+\.tibillet\.localhost$$ # regex for wildcard matching — escape . and - with \, end with $$ (docker compose escaping)
FEDOW_DOMAIN='fedow.tibillet.localhost' # the same as Fedow
ADDITIONAL_DOMAINS='domainbis.localhost' # optional - add addiotional domain for SaaS model, séparated with comma. ex : 'domainbis.localhost,domainter.localhost'
SUB='lespass' # the sub domain of your first place ex : if 'lespass', it will be accessible on https://lespass.tibillet.coop
META='agenda' # the federated agenda for all events on all tenants. If 'agenda', it will be accessible, for exemple, on https://agenda.tibillet.coop
ADMIN_EMAIL='admin@admin.com'
# For transactionnal email :
EMAIL_HOST="SSL0.OVH.NET"
EMAIL_PORT="465"
EMAIL_HOST_USER=""
EMAIL_HOST_PASSWORD=""
# 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=1
DEBUG=1
DEMO=1
STRIPE_TEST=1 # set to 1 for use stripe test env
DEMO_TAGID_CM='A49E8E2A'
DEMO_TAGID_CLIENT1='52BE6543'
DEMO_TAGID_CLIENT2='33BC1DAA'
TEST_FORMBRICKS_API=""
TEST_FORMBRICKS_EVENT_FORM=""
TEST_FORMBRICKS_ADH_FORM=""
# Token secret utilise uniquement par les tests E2E Playwright pour l'endpoint
# de force_login (/api/user/__test_only__/force_login/). Gate par DEBUG=1.
# Ne jamais mettre en production. Regenerer cette valeur si elle fuit.
# / Secret token used only by Playwright E2E tests for the force_login endpoint.
# Gated by DEBUG=1. Never ship to production. Rotate if leaked.
E2E_TEST_TOKEN='e2e-dev-only-pGk3xVqLz8R4nFw2'
##########################
# TiBillet / LaBoutik V1 Legacy
# Pour lancer des tests
##########################
FEDOW_URL='https://fedow.tibillet.localhost/' # ex : https://fedow.tibillet.localhost/
LESPASS_TENANT_URL='https://lespass.tibillet.localhost/' # ex : https://lespass.tibillet.localhost/
MAIN_ASSET_NAME="TestCoin"
DEMO_TAGID_CM='EE144CE8'
DEMO_TAGID_CLIENT1='41726643'
DEMO_TAGID_CLIENT2='93BD3684'
FEDOW_TEST_CARD_NUMBER='C3DB3821'
# SUNMI
APP_ID=
APP_KEY=
PRINTER_SN=
# Stripe
STRIPE_TEST_API_KEY=""
STRIPE_TEST_CONNECT_ACCOUNT_ID=""