-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.env
More file actions
55 lines (47 loc) · 2.01 KB
/
Copy path.env
File metadata and controls
55 lines (47 loc) · 2.01 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
# OpenShock configuration. These are simple knobs; docker-compose.yml maps them
# onto the OPENSHOCK__* variables the containers read and shares them across every
# service. Anything left unset falls back to the defaults defined in the compose file.
# --- Required ---
# Database password (no default, must be set).
PG_PASS=someSecurePassword
# --- Images ---
# Tag for the backend images (api, gateway, cron) — they share the backend repo's
# versioning. The frontend is a separate repo with its own versions, so it has its
# own tag. Pin to a release for reproducible deploys; both default to `latest`.
#OPENSHOCK_TAG=latest
#OPENSHOCK_FRONTEND_TAG=latest
# --- Host / port / paths ---
# The whole stack runs on one host and one port; services are told apart by path.
# The host clients use to reach the stack.
OPENSHOCK_HOST=openshock.local
# External port for the stack. Leave blank for 443 (standard https). Set e.g. 8080
# to serve on https://host:8080. Traefik publishes this onto its https entrypoint.
#OPENSHOCK_PORT=8080
# Path prefix per service. Frontend sits at the root; api and gateway on sub-paths.
# Leave OPENSHOCK_FRONTEND_PATH blank to keep the web UI at the root (recommended).
#OPENSHOCK_FRONTEND_PATH=
OPENSHOCK_API_PATH=/api
OPENSHOCK_GATEWAY_PATH=/gateway
# --- Database (optional, defaults shown) ---
#PG_USER=openshock
#PG_DB=openshock
# --- Feature flags (optional, defaults shown) ---
#OPENSHOCK_TURNSTILE_ENABLE=false
#OPENSHOCK_REGISTRATION_ENABLED=true
#OPENSHOCK_LCG_COUNTRYCODE=DE
# --- E-mail ---
# MAIL_TYPE is required by the app. Leave it as None to run without outbound mail,
# or set it to Smtp / Mailjet and fill in the matching block below.
MAIL_TYPE=None
MAIL_SENDER_NAME=OpenShock System
MAIL_SENDER_EMAIL=system@openshock.app
# SMTP (used when MAIL_TYPE=Smtp)
#SMTP_HOST=mail.domain.zap
#SMTP_PORT=587
#SMTP_USERNAME=open@shock.zap
#SMTP_PASSWORD=SMTPPASSWORD
#SMTP_ENABLESSL=true
#SMTP_VERIFYCERTIFICATE=true
# Mailjet (used when MAIL_TYPE=Mailjet)
#MAILJET_KEY=mailjetkey
#MAILJET_SECRET=mailjetsecret