feat(mastodon): add quadlet-managed mastodon role #96
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "add-mastodon"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This adds a quadlet style mastodon role.
It also specifically makes use of the unprivileged nginx container to allow the mastodon and nginx containers to share the same uid for accessing the media files.
The server can be set up to run out of the box with this config. Though atm we only expose smtp and secret variables.
Note: this requires manual intervention to run DB migrations on bigger updates. We will provide automatic migrations in a future patch.
7eb2bdd6a4
to116c3f7af6
i haven't looked at this in great detail but it seems fine.
to make this role more resilient, at least for startup/restarts we might need to experiment with
HealthStartupCmd
in the quadlet files to delay systemd reporting some services as 'running' too early (and then ofc double check systemd service relations)