Add config.sh to configure scaling

This commit is contained in:
Girish Ramakrishnan
2021-09-23 10:43:48 -07:00
parent 1ba882d9e8
commit 9e819b58f6
4 changed files with 7 additions and 4 deletions

View File

@@ -69,6 +69,9 @@ fi
chown -R cloudron:cloudron /app/data /tmp/mastodon /run/mastodon
[[ ! -f /app/data/config.sh ]] && cp /app/pkg/config.sh /app/data/config.sh
source /app/data/config.sh
echo "==> Starting mastodon"
exec /usr/bin/supervisord --configuration /etc/supervisor/supervisord.conf --nodaemon -i Mastodon