-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
95 lines (76 loc) · 2.78 KB
/
.env.example
File metadata and controls
95 lines (76 loc) · 2.78 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
# 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
# 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
MINIO_HOST=http://minio:9000
MINIO_PROMETHEUS_AUTH_TYPE=public
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
####################################
# Feature Toggles
####################################
FEATURE_ENABLE_APP_FEATURE=true
FEATURE_ENABLE_WORKFLOWS=true
####################################
# 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
# cevi db api keys
NEXT_PUBLIC_HITOBITO_API_URL=https://cevi.puzzle.ch
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=