feat(mastodon): add quadlet-managed mastodon role #96

Merged
saibotk merged 1 commit from add-mastodon into main 2025-03-23 21:56:55 +01:00
Owner

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.

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.
saibotk self-assigned this 2025-03-17 00:32:38 +01:00
feat(mastodon): add quadlet-managed mastodon role
All checks were successful
ci/woodpecker/pr/ansible-lint Pipeline was successful
7eb2bdd6a4
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.
requested review from histalek 2025-03-17 00:32:42 +01:00
saibotk force-pushed add-mastodon from 7eb2bdd6a4 to 116c3f7af6 2025-03-17 01:09:50 +01:00 Compare
histalek approved these changes 2025-03-18 21:02:23 +01:00
histalek left a comment
Owner

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)

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)
saibotk deleted branch add-mastodon 2025-03-23 21:56:55 +01:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: SipsOfCode/infrastructure#96
No description provided.