Skip to content

Update development environment to Docker Compose v2 and WordPress latest specs#1

Draft
Copilot wants to merge 3 commits intomasterfrom
copilot/update-docker-and-wordpress
Draft

Update development environment to Docker Compose v2 and WordPress latest specs#1
Copilot wants to merge 3 commits intomasterfrom
copilot/update-docker-and-wordpress

Conversation

Copy link
Copy Markdown

Copilot AI commented Mar 21, 2026

Docker Compose v1 (docker-compose) is deprecated and the environment used outdated image references and startup ordering patterns.

docker-compose.yml

  • Removed top-level version: '3' field (obsolete in Compose v2)
  • mariadb:latestmariadb:lts; added healthcheck so dependents wait for DB readiness
  • depends_on upgraded to condition: service_healthy / service_started across all services
  • phpmyadmin/phpmyadmin → official phpmyadmin image; removed deprecated links: in favour of PMA_HOST: db
  • Added WORDPRESS_DB_NAME: wordpress to wordpress and wordpress-cli services

CLI / tooling

  • .gitpod.yml: docker-composedocker compose (Compose v2 plugin)
  • docker-instructions/README.md: all command examples updated to docker compose

WordPress defaults

  • settings.sh / settings-sample.sh: default theme twentynineteentwentytwentyfive
Original prompt

Update the Development Environment to the latest specs of docker and Wordpress


📍 Connect Copilot coding agent with Jira, Azure Boards or Linear to delegate work to Copilot in one click without leaving your project management tool.

Copilot AI changed the title [WIP] Update development environment to latest specs of Docker and WordPress Update development environment to Docker Compose v2 and WordPress latest specs Mar 21, 2026
Copilot AI requested a review from zoukkinen March 21, 2026 09:25
Copy link
Copy Markdown
Owner

@zoukkinen zoukkinen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make sure that the scripts in the docker-instructions folder are valid bit these changes

Copy link
Copy Markdown
Author

Copilot AI commented Mar 21, 2026

Make sure that the scripts in the docker-instructions folder are valid bit these changes

Found and fixed two bugs in the scripts (commit 0759689):

  • apache2-wp-cli.sh (line 142): Removed a stray § character before echo "" inside the DO_SEARCH_REPLACE block — this would have caused a "command not found" shell error whenever search-replace was enabled.
  • wp-cli-multidomain.sh (line 2): Fixed set xset -x — without the -, bash was setting the positional parameter $1 to "x" instead of enabling debug tracing.

Both scripts now pass bash -n syntax validation. The theme change to twentytwentyfive in settings.sh/settings-sample.sh is also valid — it's the default bundled theme in current WordPress.

Copilot AI requested a review from zoukkinen March 21, 2026 09:32
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