-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.example
More file actions
130 lines (104 loc) · 4.25 KB
/
Copy path.env.example
File metadata and controls
130 lines (104 loc) · 4.25 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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# Added by Payload
DATABASE_URI=mongodb://mongo/conveniat
PAYLOAD_SECRET=YOUR_SECRET_HERE
APP_HOST_URL=http://localhost:3000
NEXTAUTH_URL=http://localhost:3000
AUTH_TRUST_HOST=true
NEXTAUTH_SECRET=keep-this-is-top-secret
JWT_SECRET=keep-this-also-top-secret
NEXT_PUBLIC_POSTHOG_KEY=
NEXT_PUBLIC_POSTHOG_HOST=https://eu.i.posthog.com
POSTGRES_USER=user
POSTGRES_PASSWORD=myTopSecretPassword
POSTGRES_DB=conveniat27
CHAT_DATABASE_URL=postgres://user:myTopSecretPassword@postgres:5432/conveniat27
REDIS_URL=redis://redis:6379
# Change these two URLS to https://db.cevi.ch for a production environment
# Change these two URLS to https://cevi.puzzle.ch for a staging environment
HITOBITO_BASE_URL=http://fake-oauth:5000
HITOBITO_FORWARD_URL=http://localhost:3001
GROUPS_WITH_API_ACCESS=541
BILLING_ADMIN_GROUP_ID=541
# Enables "Alle Rechnungen neu generieren", which resets every participant and overwrites
# their existing PDFs and invoice numbers. Leave unset on production unless you mean it.
BILLING_ALLOW_REGENERATE_ALL=false
# change to sth. arbitrary for staging
CEVI_DB_CLIENT_ID=just-a-random-string-for-dev
CEVI_DB_CLIENT_SECRET=just-a-random-string-for-dev
MINIO_ROOT_USER=admin
MINIO_ROOT_PASSWORD=password
MINIO_ACCESS_KEY_ID=example-access-key
MINIO_SECRET_ACCESS_KEY=secret-access-key
# Docker Compose Profiles
# Set to 'dev' to run standard development environment (payload service).
# Use 'service-worker' for production simulation (payload-service-worker service) via CLI flag (overrides this).
COMPOSE_PROFILES=dev
MINIO_BUCKET_NAME=conveniat-files
# Optional. Separate bucket for bill PDFs, so invoices do not share a bucket with public
# uploads. The bucket must already exist; unset means bills stay in MINIO_BUCKET_NAME.
MINIO_BILL_PDF_BUCKET_NAME=
MINIO_HOST=http://minio:9000
MINIO_PROMETHEUS_AUTH_TYPE=public
# SMTP Configuration (Required for sending out QR Bills via Email)
MINIO_PUBLIC_HOST=http://localhost:9000
ENABLE_NODEMAILER=false
SMTP_HOST=
SMTP_PORT=465
SMTP_USER=
SMTP_PASS=
# VAPID keys for web push notifications
# generated using https://vapidkeys.com/
VAPID_PRIVATE_KEY=KnO8-qCBi_rTMiSD29_eiDUgvODHX7p8zqthFCWXBsw
# Firebase Native Push
FIREBASE_SERVICE_ACCOUNT_KEY_PATH=/app/firebase-service-account.json
####################################
# Feature Toggles
####################################
FEATURE_ENABLE_APP_FEATURE=true
FEATURE_ENABLE_WORKFLOWS=true
FEATURE_ENABLE_REGISTRATION_MANAGEMENT=false
####################################
# public env variables
#
# these variables are exposed to the client side and must
# be present at build time (i.e. listed as a build arg in the Dockerfile / docker-compose.yml)
####################################
NEXT_PUBLIC_APP_HOST_URL=http://localhost:3000
NEXT_PUBLIC_VAPID_PUBLIC_KEY=BDjD9mRR_xFjBBh71EAmJ5Us-mrLAMRmtBt2gg5H5zoZ_6HYODQJmc3gzQXuwK8Bxocc0SAvOSacBqQuzF0xOlU
NEXT_PUBLIC_DISABLE_SERWIST=false
####################################
# More Settings
####################################
CAMP_MAP_INITIAL_ZOOM=15.5
CAMP_MAP_INITIAL_MAP_CENTER=8.301211/46.502822
APP_SUPPORT_EMAIL=support-conveniat27@db.cevi.ch
# con27.ch short URLs are allowed or not
ENABLE_CON27_SHORT_URLS=true
# Locales served by this deployment, as a comma separated list. Leave empty (or unset) to serve
# all locales — that is the conveniat27 setup. The konekta deployment sets `de,fr` to drop
# English. German is always served: it is the default and fallback locale.
# Build time flag: it is inlined into the client bundle, so it has to be passed as a docker
# build argument, not just as a runtime environment variable.
NEXT_PUBLIC_ENABLED_LOCALES=
# cevi db api keys
NEXT_PUBLIC_HITOBITO_API_URL=https://cevi.puzzle.ch
# Token for fetching participants from Hitobito (used by QR Billing System and other integrations)
API_TOKEN=
# for some operations we use the cookie of a bot account
BROWSER_COOKIE=
# groups for Helfer:innen Anmeldung
HELPER_GROUP=
NEXT_PUBLIC_SUPPORT_GROUP_ID=
EVENT_ID=
# api key for pushing contacts to brevo
BREVO_API_KEY=
# google translate key
GOOGLE_TRANSLATE_API_KEY=
#####################################
# Access Settings
#####################################
GROUPS_WITH_API_ACCESS=541,105,106,107
CEVIDB_GROUP_FULL_ADMIN=541
CEVIDB_GROUP_WEB_CORE_TEAM=105
CEVIDB_GROUP_TRANSLATION_TEAM=106
CEVIDB_GROUP_PROGRAM_TEAM=107