Simone Robutti 44340fde8f
Introduced FastAPI and Postgres support (#173)
* added poc

* added check for sqlite db

* added events test

* draft docker-compose-test.yml

* improved docker-compose

* added support for postgres migrations

* add documentation

* added some qol to migrations

* added migration generation script

* removed settings.toml

* waiting for postgress in script

* commented script

* added sample web config

* fixed tests

* mock memory db

* reviewed PR
2022-10-14 22:11:27 +02:00

54 lines
892 B
TOML

[default.publisher.telegram]
active=false
chat_id="xxx"
token="xxx"
username="xxx"
[default.publisher.zulip]
active=false
instance="xxx"
chat_id="xxx"
subject="xxx"
bot_token="xxx"
bot_email="xxx"
[default.publisher.twitter]
active=false
api_key="xxx"
api_key_secret="xxx"
access_token="xxx"
access_secret="xxx"
[default.publisher.mastodon]
active=false
instance="xxx"
token="xxx"
name="xxx"
toot_length=500
[default.publisher.facebook]
active=false
page_access_token="xxx"
[default.notifier.telegram]
active=false
chat_id="xxx"
token="xxx"
username="xxx"
[default.notifier.zulip]
active=false
instance="xxx"
chat_id="xxx"
subject="xxx"
bot_token="xxx"
bot_email="xxx"
[default.notifier.twitter]
active=false
api_key="xxx"
api_key_secret="xxx"
access_token="xxx"
access_secret="xxx"
[default.notifier.mastodon]
active=false
[default.notifier.facebook]
active=false
page_access_token="xxx"