feat(service): add Mastodon#9562
Conversation
| # IMPORTANT: Before deploying, generate VAPID keys by running: | ||
| # docker run --rm ghcr.io/mastodon/mastodon:latest bundle exec rake mastodon:webpush:generate_vapid_key |
There was a problem hiding this comment.
Add a helper service similar to the kibana-token-generator on https://github.com/coollabsio/coolify/blob/v4.x/templates/compose/elasticsearch-with-kibana.yaml and clearly mention the steps on docs like this: https://coolify.io/docs/services/elasticsearch#deploy-elasticsearch-with-kibana
|
|
||
| services: | ||
| web: | ||
| image: ghcr.io/mastodon/mastodon:latest |
There was a problem hiding this comment.
Please pin to a static version rather than 'latest' to prevent the template from breaking due to upstream changes.
| start_period: 30s | ||
|
|
||
| db-migrate: | ||
| image: ghcr.io/mastodon/mastodon:latest |
There was a problem hiding this comment.
Please pin to a static version rather than 'latest' to prevent the template from breaking due to upstream changes.
| condition: service_healthy | ||
|
|
||
| streaming: | ||
| image: ghcr.io/mastodon/mastodon-streaming:latest |
There was a problem hiding this comment.
Please pin to a static version rather than 'latest' to prevent the template from breaking due to upstream changes.
| retries: 10 | ||
|
|
||
| sidekiq: | ||
| image: ghcr.io/mastodon/mastodon:latest |
There was a problem hiding this comment.
Please pin to a static version rather than 'latest' to prevent the template from breaking due to upstream changes.
|
Hi @maebahesioru! 👋 It appears to us that you are either adding a new service or making changes to an existing one. Coolify Docs Repository: https://github.com/coollabsio/coolify-docs |
Changes
Adds a one-click deployment template for Mastodon, the most widely used Fediverse / ActivityPub platform.
The template includes:
SECRET_KEY_BASEandOTP_SECRETare auto-generated viaSERVICE_PASSWORD_64_*.VAPID_PRIVATE_KEYandVAPID_PUBLIC_KEYmust be generated manually (instructions in template comments).LOCAL_DOMAINis required and permanent.Issues
Category
Preview
AI Assistance
If AI was used:
Testing
Verified against official Mastodon repository:
ghcr.io/mastodon/mastodon:latestandghcr.io/mastodon/mastodon-streaming:latest.env.production.sampledocker-compose.yml(postgres:14-alpine)/health,/api/v1/streaming/health)SERVICE_PASSWORD_64_*used for SECRET_KEY_BASE and OTP_SECRET (128-char hex required by Mastodon)Contributor Agreement
Important