feat: add Cloudreve community app#4771
Closed
Lalit-Patil-07 wants to merge 2 commits intotruenas:masterfrom
Closed
feat: add Cloudreve community app#4771Lalit-Patil-07 wants to merge 2 commits intotruenas:masterfrom
Lalit-Patil-07 wants to merge 2 commits intotruenas:masterfrom
Conversation
stavros-k
reviewed
Apr 6, 2026
Contributor
stavros-k
left a comment
There was a problem hiding this comment.
You LLM seems to have missed lots of things.
I'm not confident enough at this point to even try to review further. As I will have to go over every single line.
Which will be faster to re-implement myself.
Sorry
| images: | ||
| image: | ||
| repository: cloudreve/cloudreve | ||
| tag: v4 |
| repository: ixsystems/container-utils | ||
| tag: 1.0.2 | ||
| postgres_17_image: | ||
| repository: paradedb/paradedb |
Comment on lines
+12
to
+13
| repository: redis | ||
| tag: latest |
Contributor
There was a problem hiding this comment.
valkey - and semver version
| tag: 1.0.2 | ||
| postgres_17_image: | ||
| repository: paradedb/paradedb | ||
| tag: 0.22.5-pg17 |
| {% do c1.environment.add_env("CR_CONF_Database.Name", values.consts.db_name) %} | ||
| {% do c1.environment.add_env("CR_CONF_Database.Port", 5432) %} | ||
| {% do c1.environment.add_env("CR_CONF_Database.Password", values.cloudreve.db_password) %} | ||
| {% do c1.environment.add_env("CR_CONF_Redis.Server", "%s:6379"|format(values.consts.redis_container_name)) %} |
| {% do c1.depends.add_dependency(values.consts.postgres_container_name, "service_healthy") %} | ||
| {% do c1.depends.add_dependency(values.consts.redis_container_name, "service_healthy") %} | ||
| {% do c1.set_user(values.run_as.user, values.run_as.group) %} | ||
| {% do c1.healthcheck.set_test("netcat", {"port": 5212}) %} |
Contributor
There was a problem hiding this comment.
use an env to sync port with the user provided number.
something like cr_conf_system.listen
| schema: | ||
| type: dict | ||
| attrs: | ||
| - variable: db_password |
Contributor
There was a problem hiding this comment.
where is the postgres image selector?
Comment on lines
+89
to
+118
| - variable: web_port | ||
| label: WebUI Port | ||
| schema: | ||
| type: dict | ||
| attrs: | ||
| - variable: bind_mode | ||
| label: Port Bind Mode | ||
| description: | | ||
| The bind mode for the port.</br> | ||
| - published: The port will be published on the host.</br> | ||
| - exposed: The port will be exposed to linked services.</br> | ||
| - none: The port will not be published or exposed. | ||
| schema: | ||
| type: string | ||
| default: published | ||
| enum: | ||
| - value: published | ||
| description: Published | ||
| - value: exposed | ||
| description: Exposed | ||
| - value: "" | ||
| description: None | ||
| - variable: port_number | ||
| label: Port Number | ||
| schema: | ||
| type: int | ||
| default: 5212 | ||
| required: true | ||
| min: 1 | ||
| max: 65535 |
Contributor
There was a problem hiding this comment.
docker networks? host ips?
| schema: | ||
| type: dict | ||
| show_if: [["type", "=", "ix_volume"]] | ||
| attrs: |
| description: ixVolume | ||
| - value: tmpfs | ||
| description: Tmpfs | ||
| - variable: mount_path |
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 Cloudreve to the community train.
Cloudreve is a self-hosted cloud storage platform with a web-based file manager,
file sharing, multi-storage-provider support, and an admin dashboard. It uses
PostgreSQL as its database backend and Redis for caching/session management.
App Information
Testing
Tested locally with:
All tests passed successfully. All 5 containers (cloudreve, postgres, redis,
permissions, postgres_upgrade) started and passed health checks.
Icons and Screenshots
Special Notes
for
/cloudreve/supervisord.logwhen running as uid 568. Cloudreve itself startsand runs correctly regardless — this is a cosmetic issue with the image's
entrypoint script.
Checklist