Skip to content

feat(templates): add CPalius CMF - #4

Merged
Panelica merged 1 commit into
Panelica:mainfrom
slaweally:add-cpalius
Nov 29, 2026
Merged

Panelica merged 1 commit into
Panelica:mainfrom
slaweally:add-cpalius

Conversation

@slaweally

Copy link
Copy Markdown
Contributor

New template: CPalius CMF

Checklist

  • python3 scripts/validate.py prints OK
  • I deployed this template myself and reached the app's first-run screen
  • min_memory_mb reflects real usage (checked with docker stats)
  • Secrets use "secret": true with an empty default (auto-generated)
  • Data-service ports (db/cache/queue) bind "host_ip": "127.0.0.1" (the bundled MySQL and Redis publish no ports at all)

Test notes

  • Stack: cpalius (PHP 8.4 + Apache) + cpalius-db (mysql:8.4.13) + cpalius-cache (redis:8.12.0-alpine), named volumes cpalius_html and cpalius_db_data only.
  • Deployed the pinned image ghcr.io/cpalius/cpalius:2.2.73@sha256:fb80eac7… (multi-arch: linux/amd64, linux/arm64) pulled anonymously from ghcr.io, on Docker 29.9.3 (amd64).
  • First boot copies the app into the volume in a few seconds, then the web installer opens. On the database step: host cpalius-db, port 3306, database cpalius, user cpalius, and the generated password from the credentials card. The install finished in about 25 s, then the admin sign-in and the admin panel worked.
  • docker stats after install and a few page loads: app 201 MiB, MySQL 488 MiB, Redis 8 MiB, about 700 MiB in total, so min_memory_mb is 1024.
  • scripts/resolve_digests.py templates/cpalius.json prints that the digests are current for the app, MySQL and Redis.
  • Updates are installed from the CPalius admin panel; the files stay in cpalius_html, so a new image tag is only needed for new installs.

@Panelica

Panelica commented Nov 29, 2026 •

Copy link
Copy Markdown
Owner

Merged as 285533aa.

Verified here before merging:

  • ghcr.io/cpalius/cpalius:2.2.73 resolves to sha256:fb80eac7482a6970ce333e4ace66274d1cfcc5ec155e4b1f5902f3ad7b3b4c51, exactly as pinned. linux/amd64.
  • mysql:8.4.13 to sha256:8c233bad...be00, redis:8.12.0-alpine to sha256:5af80107...3483, both as pinned.
  • Deployed the way the panel does it: private network, named volumes, generated DB password, nothing but the HTTP port published. HTTP 200 on the installer (CPalius Kurulum), Apache 2.4.71 serving, no crash loop in any of the three containers.
  • Memory at rest: app 48 MiB, MySQL 425 MiB, Redis 6 MiB, 478 MiB total. min_memory_mb 1024 is honest with room for the installer and a real site.
  • validate.py passes with the template in place.

Two maintainer changes on top, in 47d7a48:

  1. tier: community and the licence named in description and in the post-install notes. The core is source-available with production use licensed by the vendor, so the operator has to read that before the deploy button, not after. CONTRIBUTING.md now states the rule the catalogue actually applies: a published licence, a way to obtain the rights it withholds, and the template saying so when it is not open source.
  2. The CI failure on this branch was not yours. kalitesihirbazi (postgres:16.16-alpine) and wordpress (wordpress:7.1.5-php8.4-apache) pinned digests that upstream has since re-pushed, so the digest gate stopped on every PR. Both refreshed in the same commit; resolve_digests.py is clean again.

The template ships with the next panel release and shows a Community badge with your credit.

@Panelica Panelica closed this Nov 29, 2026
@Panelica Panelica reopened this Nov 29, 2026
@Panelica
Panelica merged commit 285533a into Panelica:main Nov 29, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants