Compare commits

...
Author SHA1 Message Date
3wordchant 89aa81e4cb Merge branch 'main' into fix/character-limit-run-as-mastodon 2026-11-26 18:48:59 -05:00
ChasquiLabo 9823a22e55 fix: run Mastodon app as mastodon user with character limit override
continuous-integration/drone/pr Build is failing
2026-09-29 18:27:35 +00:00
+1 -1
View File
@@ -9,4 +9,4 @@ services:
# [0]: See https://github.com/mastodon/mastodon/pull/30091
user: root
command: >
/bin/sh -c 'set -x && ls && sed -i -e "s/500/$MAX_CHARS/g" app/javascript/mastodon/features/compose/components/compose_form.jsx && sed -i -e "s/500/$MAX_CHARS/g" app/validators/status_length_validator.rb && rm -f /mastodon/tmp/pids/server.pid && su -c "RAILS_ENV=production bundle exec rails s -p 3000"'
/bin/sh -c 'set -x && ls && sed -i -e "s/500/$MAX_CHARS/g" app/javascript/mastodon/features/compose/components/compose_form.jsx && sed -i -e "s/500/$MAX_CHARS/g" app/validators/status_length_validator.rb && rm -f /mastodon/tmp/pids/server.pid && exec su -s /bin/sh -c "RAILS_ENV=production bundle exec rails s -p 3000" mastodon'