Skip to content

Add Cloudreve#4781

Open
stavros-k wants to merge 3 commits intomasterfrom
cloudreve
Open

Add Cloudreve#4781
stavros-k wants to merge 3 commits intomasterfrom
cloudreve

Conversation

@stavros-k
Copy link
Copy Markdown
Contributor

Closes #553

@stavros-k stavros-k changed the title Cloudreve Add Cloudreve Apr 6, 2026
@stavros-k stavros-k requested a review from Copilot April 6, 2026 15:30
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds the Cloudreve community app, including its app metadata, default/test values, and a docker-compose template that wires Cloudreve to Redis + Postgres (and optionally Meilisearch + Tika for full-text search).

Changes:

  • Introduces the Cloudreve app package (metadata in app.yaml/item.yaml, images/constants in ix_values.yaml, README).
  • Adds the Cloudreve docker-compose.yaml template to render the stack (optional FTS path enabled via values).
  • Adds a bundled base_v2_3_1 templating library plus unit tests under the Cloudreve app’s templates tree, and updates cspell dictionary.

Reviewed changes

Copilot reviewed 84 out of 86 changed files in this pull request and generated no comments.

Show a summary per file
File Description
ix-dev/community/cloudreve/templates/test_values/fts-values.yaml Test values enabling FTS with Meilisearch/Tika.
ix-dev/community/cloudreve/templates/test_values/basic-values.yaml Test values for a basic (non-FTS) deployment.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/volumes.py Bundled library code for top-level volume rendering.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/volume_types.py Bundled library code for NFS/CIFS/volume specs.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/volume_sources.py Bundled library code for mount “source” resolution.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/volume_mount.py Bundled library code for mount rendering.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/volume_mount_types.py Bundled library code for bind/volume mount options.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/truenas_client.py Bundled library code for TrueNAS API port validation.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tmpfs.py Bundled library code for tmpfs mounts.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_validations.py Unit tests for validation helpers in bundled library.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_truenas_client.py Unit tests for TrueNAS client fallback/new endpoint logic.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_sysctls.py Unit tests for sysctl rendering behavior.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_security_opts.py Unit tests for security_opt handling.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_restart.py Unit tests for restart policy rendering/validation.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_resources.py Unit tests for deploy resources (cpu/mem/gpu) behavior.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_render.py Unit tests for renderer invariants (no containers, duplicate containers, etc.).
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_portal.py Unit tests for x-portals generation.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_notes.py Unit tests for x-notes output and security/warning sections.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_networks.py Unit tests for network registration/internal networks.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_labels.py Unit tests for label validation and rendering.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_functions.py Unit tests for template helper functions.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_formatter.py Unit tests for formatter helpers (e.g., dollar escaping).
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_extra_hosts.py Unit tests for extra_hosts behavior/validation.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_expose.py Unit tests for expose port behavior.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_environment.py Unit tests for env var precedence/escaping.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_dns.py Unit tests for DNS opts/search/nameserver behavior.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_device.py Unit tests for device mappings and GPU auto-device behavior.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_device_cgroup_rules.py Unit tests for device cgroup rule validation/rendering.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_depends.py Unit tests for depends_on condition handling.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_configs.py Unit tests for configs (top-level + service-level).
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/test_build_image.py Unit tests for inline build image handling/hashing.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/tests/init.py Test package marker for bundled library tests.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/sysctls.py Bundled library code for sysctl collection/rendering.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/storage.py Bundled library code for container storage/mount management.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/security_opts.py Bundled library code for security_opt management.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/restart.py Bundled library code for restart policy rendering.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/resources.py Bundled library code for deploy resources defaults/profiles.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/render.py Bundled library entrypoint for rendering compose structures.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/ports.py Bundled library code for published port validation/rendering.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/portals.py Bundled library code for x-portals generation.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/notes.py Bundled library code for x-notes generation.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/networks.py Bundled library code for network definitions and attachment.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/labels.py Bundled library code for label validation/escaping.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/healthcheck.py Bundled library code for healthcheck variants.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/functions.py Bundled library helper function map for templates.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/formatter.py Bundled library formatting helpers.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/extra_hosts.py Bundled library code for extra_hosts rendering/validation.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/expose.py Bundled library code for expose port rendering.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/error.py Bundled library RenderError definition.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/environment.py Bundled library env var auto/user/app-dev handling.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/docker_client.py Bundled library docker client wrapper for network detection.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/dns.py Bundled library DNS settings support.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/devices.py Bundled library container device management.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/device.py Bundled library device entry/validation wrapper.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/device_cgroup_rules.py Bundled library device cgroup rule handling.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/deps.py Bundled library dependency container factory.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/deps_tika.py Bundled library Tika dependency container.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/deps_solr.py Bundled library Solr dependency container.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/deps_redis.py Bundled library Redis/Valkey dependency container.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/deps_postgres.py Bundled library Postgres dependency container (incl. upgrade helper).
ix-dev/community/cloudreve/templates/library/base_v2_3_1/deps_perms.py Bundled library permissions-helper container logic.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/deps_mongodb.py Bundled library MongoDB dependency container.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/deps_memcached.py Bundled library Memcached dependency container.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/deps_meilisearch.py Bundled library Meilisearch dependency container.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/deps_mariadb.py Bundled library MariaDB dependency container.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/deps_guacd.py Bundled library guacd dependency container.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/deps_elastic.py Bundled library ElasticSearch dependency container.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/deps_cron.py Bundled library cron dependency container.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/deploy.py Bundled library deploy section rendering.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/depends.py Bundled library depends_on rendering/validation.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/configs.py Bundled library configs rendering/validation.
ix-dev/community/cloudreve/templates/library/base_v2_3_1/init.py Package marker for bundled library.
ix-dev/community/cloudreve/templates/docker-compose.yaml Cloudreve app compose template wiring containers, storage, deps, portals.
ix-dev/community/cloudreve/README.md App README introduction/link.
ix-dev/community/cloudreve/ix_values.yaml Image definitions + constants used by templates.
ix-dev/community/cloudreve/item.yaml App catalog metadata (categories/icon/tags).
ix-dev/community/cloudreve/app.yaml App manifest metadata (versioning, train, run_as_context, etc.).
cspell.config.yaml Adds “cloudreve” to the spelling dictionary.

@stavros-k stavros-k marked this pull request as ready for review April 6, 2026 15:36
@stavros-k stavros-k requested a review from Qubad786 April 6, 2026 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Community Chart Suggestion: Cloudreve

2 participants