Repository navigation
Expand file tree
/
Copy path.env.example
More file actions
50 lines (40 loc) · 1.7 KB
/
Copy path.env.example
File metadata and controls
50 lines (40 loc) · 1.7 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
# Public URL, no trailing slash needed
BASE_URL=https://webmention.io
DB_HOST=127.0.0.1
DB_PORT=3306
DB_NAME=webmention
DB_USER=webmention
DB_PASS=
REDIS_HOST=127.0.0.1
REDIS_PORT=6379
REDIS_DB=0
# Avatar archiving: author photos are copied to this S3 bucket. Leave the
# bucket empty to keep original photo URLs. The key needs s3:GetObject and
# s3:PutObject/s3:PutObjectAcl on the bucket, which must allow public-read ACLs.
AVATAR_S3_BUCKET=
AVATAR_S3_REGION=
AVATAR_S3_KEY_ID=
AVATAR_S3_SECRET_KEY=
# Public prefix of stored avatar URLs; the web server maps it onto the bucket.
# Defaults to BASE_URL/avatar. A deployment on another hostname that shares
# the production database should set this to the production value, e.g.
# https://webmention.io/avatar, so its rows match everyone else's.
AVATAR_URL=
# Sites with no IndieAuth endpoint (only rel="me" links) are signed in through
# indielogin.com. Set to "off" to refuse them instead.
INDIELOGIN_URL=https://indielogin.com
# Accounts that can see the admin section, comma separated. Each name is
# matched against an account's username or its domain. Empty means nobody.
ADMIN_USERS=
# Bearer token for the Munin endpoints, /stats/config and /stats/data (see
# docs/munin/webmention). Empty turns them off.
STATS_API_KEY=
# Outgoing requests refuse private and loopback addresses. Set to 1 only for local development.
ALLOW_PRIVATE_NETWORK=0
# Set to 1 when behind a proxy that sets X-Forwarded-Proto / X-Forwarded-For
TRUST_PROXY=0
# Directory for logs: the web app writes web.log, each worker worker-{name}.log.
# Must be writable by the web server user and the workers. Defaults to ./logs
LOG_DIR=
# Show exception details on error pages. Never in production.
APP_DEBUG=0