-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
38 lines (32 loc) · 1.64 KB
/
Copy path.env.example
File metadata and controls
38 lines (32 loc) · 1.64 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
# Public URL, used by canonical links, the sitemap and the RSS feed. No
# trailing slash.
NEXT_PUBLIC_SITE_URL=https://mlbbdex.com
# Application log folder (server and browser errors), split by day. Defaults
# to "logs" at the root. In a container, a dedicated volume.
LOGS_DIR=logs
# Optional: Matomo audience measurement, configured without cookies. Setting
# both variables enables the tracker; the URL points to the self-hosted Matomo
# instance (e.g. https://leoderoin.fr), the id is the site's id in Matomo.
NEXT_PUBLIC_MATOMO_URL=
NEXT_PUBLIC_MATOMO_SITE_ID=
# Optional: patch notifications (Web Push) for favorite heroes. Without these
# three variables, the feature is hidden and nothing else changes. Read at
# runtime: no need to rebuild the image to set them.
# npx web-push generate-vapid-keys
# gives a public key and a private key, to copy below. Keep them forever:
# changing them voids every existing subscription.
# VAPID_SUBJECT is a contact for the notification services
# (mailto:address or https://site).
VAPID_PUBLIC_KEY=
VAPID_PRIVATE_KEY=
VAPID_SUBJECT=
# Server data folder: notification subscriptions and last announced patch.
# Defaults to "donnees-serveur"; in a container, a volume.
DATA_DIR=donnees-serveur
# Optional: token (24 characters or more) for the test route
# POST /api/push/send; without it, the route does not exist. Ex.: openssl rand -hex 32
PUSH_ADMIN_TOKEN=
# Optional: token (24 characters or more) that lets the administrator delete any
# community build with DELETE /api/builds/<id> and `Authorization: Bearer <token>`.
# Without it, only authors can delete their own builds. Ex.: openssl rand -hex 32
BUILDS_ADMIN_TOKEN=