docs: update README with example

This commit is contained in:
Glenn Y. Rolland 2024-10-19 16:07:47 +02:00
parent 24405cc0f3
commit c2b7e726b1

View file

@ -3,3 +3,25 @@
# GotoSocial
dokku config:set social --no-restart GTS_ACCOUNTS_REGISTRATION_OPEN=false
dokku config:set social --no-restart GTS_ADVANCED_RATE_LIMIT_REQUESTS=0
dokku config:set social --no-restart GTS_ADVANCED_THROTTLING_MULTIPLIER=32
dokku config:set social --no-restart GTS_ADVANCED_THROTTLING_RETRY_AFTER=120s
dokku config:set social --no-restart GTS_CONTACT=glenux
dokku config:set social --no-restart GTS_DB_ADDRESS=exampledbhost
dokku config:set social --no-restart GTS_DB_DATABASE=exampledb
dokku config:set social --no-restart GTS_DB_PASSWORD=example
dokku config:set social --no-restart GTS_DB_PORT=5432
dokku config:set social --no-restart GTS_DB_TLS_CA_CERT=
dokku config:set social --no-restart GTS_DB_TLS_MODE=disable
dokku config:set social --no-restart GTS_DB_TYPE=postgres
dokku config:set social --no-restart GTS_DB_USER=postgres
dokku config:set social --no-restart GTS_EMAIL=admin@example.com
dokku config:set social --no-restart GTS_HOST=example.com
dokku config:set social --no-restart GTS_INSTANCE_EXPOSE_PUBLIC_TIMELINE=true
dokku config:set social --no-restart GTS_LETSENCRYPT_EMAIL_ADDRESS=admin@example.com
dokku config:set social --no-restart GTS_LETSENCRYPT_ENABLED=false
dokku config:set social --no-restart GTS_MEDIA_REMOTE_CACHE_DAYS=3
dokku config:set social --no-restart GTS_TRUSTED_PROXIES=127.0.0.1/32,172.17.0.1,::1
dokku config:set social --no-restart GTS_USERNAME=admin