second initial commit

This commit is contained in:
2026-04-12 15:46:17 -05:00
parent 7949e8b3b6
commit cb485ee2de
5 changed files with 150 additions and 0 deletions

17
conf.d/mastodon Normal file
View File

@@ -0,0 +1,17 @@
USER=mastodon
USERHOME="/home/mastodon"
INSTALLROOT="${USERHOME}/live"
RBENV_ROOT="${USERHOME}/.rbenv"
PATH="${RBENV_ROOT}/bin:${RBENV_ROOT}/shims:$PATH"
# these are tuned to rather small values from defaults to suite
# compact instance feel free to experiment
DB_POOL=5
SIDEKIQ_WORKERS=5
WEB_BIND=127.0.0.1
WEB_PORT=3000
# should be 0 (single process) or >1
WEB_CONCURRENCY=1
WEB_MAX_THREADS=2