Upgrade Docker to PHP 8.4 and MySQL 8.0, remove composer.lock.#581
Upgrade Docker to PHP 8.4 and MySQL 8.0, remove composer.lock.#581terabytesoftw merged 14 commits intoyiisoft:masterfrom
8.4 and MySQL 8.0, remove composer.lock.#581Conversation
terabytesoftw
commented
Mar 17, 2026
| Q | A |
|---|---|
| Is bugfix? | ✔️ |
| New feature? | ❌ |
| Breaks BC? | ❌ |
| Tests pass? | ❌ |
… and entrypoint scripts.
…xecution instructions in `README.md`.
There was a problem hiding this comment.
Pull request overview
Updates the project’s Docker-based development/CI setup to run on PHP 8.4, aligning container runtime with the repository’s modern PHP support and adding a Docker-focused GitHub Actions workflow.
Changes:
- Upgrade frontend/backend Docker images to
yiisoftware/yii2-php:8.4-apacheand add a shared custom entrypoint. - Update
docker-compose.ymlbuild configuration and bump MySQL image to 8.0. - Add a new
.github/workflows/docker.ymlworkflow to build containers, init the app, health-check, and run Codeception.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
frontend/Dockerfile |
Moves frontend container to PHP 8.4 and wires in the custom entrypoint. |
backend/Dockerfile |
Moves backend container to PHP 8.4 and wires in the custom entrypoint. |
docker-entrypoint.sh |
New entrypoint intended to update Composer deps then start Apache. |
docker-compose.yml |
Updates build contexts/dockerfile paths and bumps MySQL to 8.0. |
composer.lock |
Updates locked dependencies/refs (likely to support newer PHP). |
README.md |
Documents PHP requirements and adds Docker setup/CI badge/instructions. |
.github/workflows/docker.yml |
Adds Docker-based CI job to build/health-check and run Codeception. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
There was a problem hiding this comment.
Pull request overview
Updates the project’s Docker-based development/CI setup to target newer runtime versions and adds a dedicated GitHub Actions workflow to validate the Docker environment.
Changes:
- Bump frontend/backend Docker base images to
yiisoftware/yii2-php:8.4-apache. - Update
docker-compose.ymlto usemysql:8.0(and refresh the commented Postgres version). - Add a Docker CI workflow and expand README with Docker setup/testing instructions; refresh
composer.lock.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/Dockerfile | Updates the Apache PHP base image to 8.4. |
| backend/Dockerfile | Updates the Apache PHP base image to 8.4. |
| docker-compose.yml | Switches MySQL image to 8.0 and updates commented Postgres version. |
| composer.lock | Updates locked dependency metadata (including VCS URLs). |
| README.md | Adds Docker section and installation/testing instructions. |
| .github/workflows/docker.yml | Adds a CI workflow that builds/starts containers and runs migrations/tests. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
There was a problem hiding this comment.
Pull request overview
Updates the project’s Docker-based development/CI setup to run on newer runtime versions (PHP 8.4 Apache images and newer DB images), and documents/automates Docker-based testing via GitHub Actions.
Changes:
- Bump frontend/backend Docker images from
yiisoftware/yii2-php:8.1-apacheto8.4-apache. - Update
docker-compose.ymlto remove the Compose version field and upgrade MySQL from5.7to8.0(and update the commented Postgres example). - Add a dedicated Docker GitHub Actions workflow and expand README instructions for Docker usage; update
actions/checkoutversion in CI.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/Dockerfile | Switches Apache PHP base image to 8.4 for the frontend container. |
| backend/Dockerfile | Switches Apache PHP base image to 8.4 for the backend container. |
| docker-compose.yml | Removes legacy compose version and upgrades MySQL image version. |
| composer.lock | Updates locked dependency metadata/refs (notably changes one source URL). |
| README.md | Adds/extends Docker install + testing documentation and a Docker workflow badge. |
| .github/workflows/docker.yml | New workflow that builds/runs Docker Compose, initializes the app, migrates DB, and runs Codeception. |
| .github/workflows/build.yml | Aligns checkout action version with other workflows. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
There was a problem hiding this comment.
Pull request overview
Updates the project’s Docker and CI setup to run on newer runtime images (PHP 8.4 in Apache containers) and refreshes related infrastructure/docs for the Yii2 advanced template.
Changes:
- Bump frontend/backend Docker base images to
yiisoftware/yii2-php:8.4-apache. - Update Docker Compose database images (MySQL 8.0; Postgres example updated) and expand README with Docker usage/testing instructions.
- Add a dedicated GitHub Actions workflow to build/run the Docker environment and execute migrations + Codeception tests; align
actions/checkoutversion inbuild.yml.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| frontend/Dockerfile | Switch base image to PHP 8.4 Apache variant. |
| backend/Dockerfile | Switch base image to PHP 8.4 Apache variant. |
| docker-compose.yml | Remove compose version, bump MySQL image to 8.0, update Postgres example version. |
| composer.lock | Refresh locked dependency metadata/refs (notably includes SSH source.url entries). |
| README.md | Add Docker section with setup + test instructions. |
| .github/workflows/docker.yml | New Docker CI workflow running compose, migrations, and Codeception. |
| .github/workflows/build.yml | Update actions/checkout version. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
There was a problem hiding this comment.
Pull request overview
Updates the project’s Docker-based development/CI setup to target newer runtime versions (PHP 8.4 containers and newer DB images) and documents how to run the template via Docker.
Changes:
- Bump frontend/backend Docker base images to
yiisoftware/yii2-php:8.4-apache. - Update Docker Compose DB images (MySQL 8.0; refresh commented Postgres version) and add a dedicated Docker GitHub Actions workflow.
- Expand README with Docker installation and test-running instructions; update
composer.lockdue to dependency refresh.
Reviewed changes
Copilot reviewed 6 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
frontend/Dockerfile |
Moves Apache/PHP container base image to PHP 8.4. |
backend/Dockerfile |
Moves Apache/PHP container base image to PHP 8.4. |
docker-compose.yml |
Removes compose schema version header; updates MySQL image to 8.0 (and updates commented Postgres version). |
composer.lock |
Updates locked dependency metadata/refs as part of the upgrade. |
README.md |
Adds Docker-focused setup and testing documentation plus a CI badge. |
.github/workflows/docker.yml |
New Docker-based CI workflow that builds containers, initializes the app, prepares DB, and runs tests. |
.github/workflows/build.yml |
Updates checkout action version used by the main build workflow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
There was a problem hiding this comment.
Pull request overview
Updates the repository’s Docker-based development/CI environment to target newer runtime versions, and documents how to run the app/tests via Docker.
Changes:
- Bump frontend/backend Docker images from PHP 8.1 to PHP 8.4.
- Update
docker-compose.ymldatabase image to MySQL 8.0 and add a GitHub Actions workflow to run the Docker-based test flow. - Expand README with Docker install/test instructions and adjust
.gitignore(including ignoringcomposer.lock).
Reviewed changes
Copilot reviewed 6 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
frontend/Dockerfile |
Switch base image to yiisoftware/yii2-php:8.4-apache. |
backend/Dockerfile |
Switch base image to yiisoftware/yii2-php:8.4-apache. |
docker-compose.yml |
Remove compose version: and bump MySQL to 8.0 (and update commented pgsql version). |
composer.lock |
Removed from the repo. |
README.md |
Add Docker section and instructions for Docker-based install and running tests. |
.gitignore |
Ignore composer.lock and common Node artifacts. |
.github/workflows/docker.yml |
Add Docker workflow that builds containers, configures DB, runs migrations and Codeception. |
.github/workflows/build.yml |
Update checkout action version used by CI. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.
8.4 and MySQL 8.0, remove composer.lock.
There was a problem hiding this comment.
Pull request overview
This PR updates the project’s Docker-based development/CI environment to newer runtime dependencies and refreshes documentation to match, while also removing the Composer lock file from version control.
Changes:
- Upgrade Docker PHP base images to
yiisoftware/yii2-php:8.4-apachefor frontend/backend. - Upgrade
docker-compose.ymlMySQL image tomysql:8.0(and update commented Postgres version). - Remove
composer.lock, add a dedicated Docker GitHub Actions workflow, and expand README Docker setup instructions.
Reviewed changes
Copilot reviewed 6 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| frontend/Dockerfile | Bumps the frontend Apache/PHP base image to PHP 8.4. |
| backend/Dockerfile | Bumps the backend Apache/PHP base image to PHP 8.4. |
| docker-compose.yml | Upgrades the MySQL service image to 8.0 and removes the obsolete compose version field. |
| composer.lock | Removes the dependency lock file from the repository. |
| README.md | Adds Docker CI badge + detailed Docker install/testing instructions and requirements note. |
| .gitignore | Starts ignoring composer.lock and adds Node-related ignores. |
| .github/workflows/docker.yml | Adds a Docker-based CI workflow that builds containers, configures DB settings, migrates, and runs Codeception. |
| .github/workflows/build.yml | Updates actions/checkout version used by the build workflow. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
You can also share your feedback on Copilot code review. Take the survey.