about summary refs log tree commit diff
path: root/deploy/conf/.env.production
blob: 3eadba8ebf4ae5b0ba4195137d65b5e8b72f453f (plain) (blame)
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
REDIS_HOST=redis
REDIS_PORT=6379

DB_HOST=db
DB_USER=postgres
DB_NAME=postgres
DB_PASS=
DB_PORT=5432

LOCAL_DOMAIN=plural.cafe
DEFAULT_LOCALE=en-cafe

# Generate with `docker-compose run --rm web rake secret`
SECRET_KEY_BASE=<REPLACE ME>
OTP_SECRET=<REPLACE ME>

# Instance keys for push notifications
# Generate with `docker-compose run --rm web rake mastodon:webpush:generate_vapid_key`
VAPID_PRIVATE_KEY=<REPLACE ME>
VAPID_PUBLIC_KEY=<REPLACE ME>

# email
SMTP_SERVER=smtp.mailgun.org
SMTP_PORT=2525
SMTP_LOGIN=postmaster@plural.cafe
SMTP_PASSWORD=<REPLACE ME>
SMTP_FROM_ADDRESS=noreply@plural.cafe

# jortage
S3_ENABLED=true
S3_BUCKET=pluralcafe
AWS_ACCESS_KEY_ID=pluralcafe
AWS_SECRET_ACCESS_KEY=<REPLACE ME>
S3_REGION=jort
S3_PROTOCOL=https
S3_HOSTNAME=pool-api.jortage.com
S3_ENDPOINT=https://pool-api.jortage.com
S3_SIGNATURE_VERSION=v4
S3_ALIAS_HOST=pool.jortage.com/pluralcafe
S3_READ_TIMEOUT=20

# necessary for docker
UID=991
GID=991

# configuration
MAX_TOOT_CHARS=5000
MAX_PINNED_TOOTS=5
MAX_BIO_CHARS=2000
MAX_PROFILE_FIELDS=10
MAX_DISPLAY_NAME_CHARS=100

# should be the fucking default
AUTHORIZED_FETCH=true
DISALLOW_UNAUTHENTICATED_API_ACCESS=true