Add Seafile app with optional SeaDoc#4993
Draft
mreid-tt wants to merge 19 commits into
Draft
Conversation
…n, fix custom-storage paths
- Rename MariaDB vars: db -> mariadb_container, db_image -> mariadb_image - Run Caddy as non-root with NET_BIND_SERVICE, enable healthcheck - Use db_user/db_name consts instead of hardcoded values - Fix redis dependency: service_started -> service_healthy - Add additional_storage question with full host_path/ix_volume/cifs/nfs support - Add Labels Configuration group and question - Add acl_entries + acl blocks to all storage questions - Add notes_body const with post-install credentials note - Remove inconsistent auto_permissions from db_data/redis_data - Fix Memory label to (in MB), trim README to 3 lines - Fix redis run_as_context description - Normalize host_ips in test values, ensure trailing newlines
- User enters bare hostname (no port), port appended automatically - Only appends :port when non-standard (not 80/443) - Also feeds into SeaDoc URL and extra_hosts - Add TCP healthcheck to seadoc container
- seadoc always runs on the same server behind Caddy - No need for user-configurable seadoc_server_url override - Match upstream behavior of always auto-constructing the URL
Contributor
Author
|
Hey @stavros-k, hope you’re doing well. If there are any recommended changes or suggested next steps, please let me know. I’m very eager to help get this into the catalog. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
App Addition
AI
Description
Adds Seafile to the community train.
Seafile is an open source cloud storage system with privacy preservation and teamwork features. This package includes:
seafileltd/seafile-mc:13.0-latest) with MariaDB and Rediscaddy:2-alpine) with optional TrueNAS certificate support for HTTPSseafileltd/sdoc-server:2.0-latest) for collaborative document editingApp Information
Testing
Tested locally with:
All tests passed successfully (render and deployment).
Icons and Screenshots
Please upload the following to the CDN:
Special Notes
my_initas PID 1, which requires root. The container runs as root; the init system drops privileges for seafile processes internally.SETUID/SETGIDcapabilities for nginx worker processes. Applied viacap_addsince the library defaults tocap_drop: [ALL].enable_seadocis true, the sdoc-server container is deployed alongside seafile.caddy:2-alpinewith a static Caddyfile injected via Docker configs (notcaddy-docker-proxy, avoiding Docker socket dependency).Checklist