forked from renatolond/mastodon-twitter-poster
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.env.example
52 lines (43 loc) · 1.88 KB
/
.env.example
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
LIBRATO_EMAIL=
LIBRATO_TOKEN=
TWITTER_CLIENT_ID=
TWITTER_CLIENT_SECRET=
SECRET_KEY_BASE=
RAILS_ENV=production
RACK_ENV=production
# The name that's going to be displayed in the page, but also in the bottom of toots as the app name (optional)
CROSSPOSTER_APP_NAME=Mastodon Twitter Crossposter
# The domain where the app can be accessed
CROSSPOSTER_DOMAIN=https://crossposter.example.com
# The repo, if it's a fork (optional)
CROSSPOSTER_REPO=https://github.com/repo-to/crossposter
# The stats page, if exists (optional)
CROSSPOSTER_STATS=https://grafana.example.com
# The fediverse account where announcements about this instance of the crossposter can be found
CROSSPOSTER_FEDI_ACCOUNT_ADDRESS=https://instance.example.com/@crossposter
# Twitter account of the admin of this instance, if exists (optional)
CROSSPOSTER_ADMIN_TWITTER=crossposter_admin
# Fediverse account that users can use to reach the admin in case of issues
CROSSPOSTER_ADMIN_FEDI_ADDRESS=https://instance.example.com/@crossposter_admin
# If you are using statsd to save metrics, you need the three following variables
STATSD_ENABLED=true
STATSD_HOST=127.0.0.1
STATSD_PORT=8125
# You should only enable one of the following lines at a time
ALLOWED_DOMAIN=my.instance
BLOCKED_DOMAINS=evil.corp,bad.instance
# You can use twitter.activitypub.actor (or your own installation of it) to get nice mentions of twitter's people
# If you enable this, instead of @[email protected], the user will be @user@<ALTERNATIVE_TWITTER_DOMAIN>
USE_ALTERNATIVE_TWITTER_DOMAIN=true
ALTERNATIVE_TWITTER_DOMAIN=twitter.activitypub.actor
# Database settings
# Postgres
DB_HOST=localhost
DB_PORT=5432
DB_NAME=mastodon_twitter_poster_production
DB_USER=mastodon_twitter_poster
DB_PASS=
# Redis only for Sidekiq
REDIS_URL=redis://localhost:6379/0