In the ninth part of this tutorial series on developing PHP on Docker we will
deploy our dockerized PHP application to a production environment (a GCP Compute Instance VM)
and run it via
docker compose as a proof of concept.
All code samples are publicly available in my
Docker PHP Tutorial repository on Github.
You find the branch with the final result of this tutorial at
All published parts of the Docker PHP Tutorial are collected under a dedicated page at
Docker PHP Tutorial. The previous part was
Create a GCP Compute Instance VM for dockerized PHP Apps.
If you want to follow along, please subscribe to the RSS feed
or via email to get automatic notifications when the next part comes out 🙂
Table of contents
- Codebase changes
- Docker changes
- Updating the
- Adjust the
- Build target:
- Makefile changes
- Deployment workflow
- Avoiding code drift
- Build and push the
- the original (another 108494 bytes)