Create a WAMP environment with docker
Here is a simple way to make a WAMP server with Docker.
WAMP is an architecture based on Windows,Apache,MySQL,PHP.
But actually, with Docker, we are not constrained by using Windows, so the real architecture is XAMP. (X means all OS)
To do it, first, install Docker on your computer / server.
Create these files in your project folder:
./Dockerfile
./docker-compose.yaml
./www/public/index.php
Put your PHP code in ./www/
directory. The public directory would be ./www/public/
in this case.
The Dockerfile
Note: the highlighted lines are about installing composer and postgresql database extension. Comment them if you don’t need them !
The docker-compose.yml
The PHP code
And then do docker-compose up
and target the port 80 of your machine (generally http://localhost:80)
Don’t forget to add tags to freeze the dependencies and images you installed !
The SOLID/STUPID principles
Learn what are the SOLID and STUPID principles with examples
Create a Docker Swarm playground
Let's create Docker Swarm playground on your local machine
Setup a Kubernetes cluster with K3S, Traefik, CertManager and Kubernetes Dashboard
Let's setup step by step our own K3S cluster !
Create an Ansible playground with Docker
Let's create an Ansible playground with Docker
Database ACID/BASE - Understanding the CAP Theorem
Learn what is the CAP Theorem in less than 5 minutes !
HashiCorp Vault - Technological watch
Learn what is HashiCorp Vault in less than 5 minutes !
How to internationalize an AstroJS website while maintaining good SEO ?
We will see how to create an implementation of i18n with AstroJS
Remember all the commands of a project with Makefile
We will see how to remember all command of a project & write documentation with Makefile !