Draft
Move service images to root level; set CakePHP path to /var/www/cakephp#223
Conversation
…h to /var/www/cakephp
Copilot created this pull request from a session on behalf of
b23prodtm
July 11, 2026 17:02
View session
…sh; update docker-bake.hcl with per-arch groups and GHA cache
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.
Reorganizes the Docker service directories from
deployment/images/to root level, and standardizes the CakePHP installation path to/var/www/cakephpacross all services.Service directory restructure
git mv deployment/images/mysqldb→mysqldb/git mv deployment/images/httpd→httpd/deployment/treeCakePHP path:
/var/www/html→/var/www/cakephpDockerfile.{template,armhf,aarch64,x86_64}): updatedENV HTDOCSdefaulthttpd/Dockerfile.*): updatedENV HTDOCSdefaultetc/php-fpm.d/www.conf:prefix = /var/www/cakephp(was/var/$pool/html) — aligns PHP-FPM chroot with new install pathConfig/compose updates
docker-compose.{template,armhf,aarch64,x86_64,yml}:context,HTDOCSbuild arg, andwww:volume mount updateddocker-bake.hcl: context paths ("mysqldb","httpd") and HTDOCS argscommon.env:BALENA_PROJECTSarray updated to( ./httpd ./mysqldb . ./balena-storage )deploy.sh:mysqldb/conf.d/custom.cnfpathkubernetes/*/: service path references updatedBoth
php-fpmandhttpdshare thewwwnamed volume mounted at/var/www/cakephp, so Apache can serve CakePHP static assets directly while proxying PHP requests to PHP-FPM.