mirror of
https://github.com/idanoo/go-mastodon-matrix-webhooks
synced 2025-07-01 11:02:14 +00:00
Move mastodon URL to a .env var
This commit is contained in:
parent
ae803d1127
commit
b17f929948
3 changed files with 31 additions and 10 deletions
13
.env.example
13
.env.example
|
@ -1,6 +1,7 @@
|
|||
MATRIX_WEBHOOK_URL=
|
||||
MATRIX_WEBHOOK_API_KEY=
|
||||
MATRIX_ACCOUNT_CHANNEL=
|
||||
MATRIX_REPORT_CHANNEL=
|
||||
PORT=
|
||||
IP2LOCATION_FILE=
|
||||
MATRIX_WEBHOOK_URL="http://127.0.0.1:4785"
|
||||
MATRIX_WEBHOOK_API_KEY=keySetupInMatrixWebhooks
|
||||
MATRIX_ACCOUNT_CHANNEL="!channelID:matrix.org"
|
||||
MATRIX_REPORT_CHANNEL="!channelID:matrix.org"
|
||||
PORT=8081
|
||||
IP2LOCATION_FILE="full path to .BIN file"
|
||||
MASTODON_INSTANCE="mastodon.test"
|
Loading…
Add table
Add a link
Reference in a new issue