feat(pimcore): complete docker-compose project with proper 3-container architecture#2100
Open
Copilot wants to merge 2 commits intofeat/moodle-update-20260319from
Open
feat(pimcore): complete docker-compose project with proper 3-container architecture#2100Copilot wants to merge 2 commits intofeat/moodle-update-20260319from
Copilot wants to merge 2 commits intofeat/moodle-update-20260319from
Conversation
19 tasks
Agent-Logs-Url: https://github.com/Websoft9/docker-library/sessions/3c8d100b-1d6c-4306-8c1b-fcc5c3d9681b Co-authored-by: zhaojing1987 <7624828+zhaojing1987@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Create docker-compose.yml for Pimcore
feat(pimcore): complete docker-compose project with proper 3-container architecture
Apr 2, 2026
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.
The existing
apps/pimcore/was non-functional — broken port bindings, references to non-existent services, non-standard variable names, and noted as "Can not used, need improve".Architecture
3 long-running containers + 1 init container:
nginxnginx:stable-alpinephp:9000phppimcore/pimcore:php8.2-supervisord-latestmariadbmariadb:10.11initpimcore/pimcore:php8.2-latestcomposer create-project+pimcore-install, exits on successKey changes
.env— standardized toW9_ID,W9_HTTP_PORT_SET,W9_LOGIN_USER/PASSWORD,W9_DB_EXPOSE,W9_URL; addedPIMCORE_DB_*vars as single source of truth for DB credentialsdocker-compose.yml— full rewrite;phpservice name aligns withnginx.confupstream (server php:9000);DATABASE_URLderived fromPIMCORE_DB_*;mariadbhealthcheck gates bothinitandphpstartupsrc/init.sh— new; handles idempotent first-run install via.installedlock filesrc/README.md— new; documents allsrc/config filesvariables.json— fixed trailing space intrademarkNotes.md— replaced placeholder text with architecture overview and first-startup timing expectations (~5–15 min for composer download)Notes
The
pimcore/pimcoreimage is a PHP-FPM runtime only — it does not bundle application code. Theinitcontainer bootstraps the skeleton project on firstdocker compose up. Subsequent restarts skip installation via the.installedlock file.Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
docs.pimcore.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)If you need me to access, download, or install something from one of these locations, you can either: