diff --git a/README.md b/README.md index ee96665..a950f02 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,29 @@ In this docker repository, we have built the following images: - [cslant/dev-php83](https://hub.docker.com/r/cslant/dev-php83) - [cslant/dev-worker83](https://hub.docker.com/r/cslant/dev-worker83) +- [cslant/dev-mysql](https://hub.docker.com/r/cslant/dev-mysql) - [cslant/dev-node22](https://hub.docker.com/r/cslant/dev-node22) - [cslant/dev-nginx](https://hub.docker.com/r/cslant/dev-nginx) - [cslant/dev-postgres](https://hub.docker.com/r/cslant/dev-postgres) + +## Prerequisites + +First, copy the `.env.example` file to `.env` and update the values. + +```bash +envsubst < .env.example > .env +``` + +If you don't have `envsubst` command, you can use the following command: + +```bash +cp .env.example .env +``` + +### 💻 Start in Mac with arm64 + +To run as amd64. You need to set the default platform to `linux/amd64`: + +```shell +export DOCKER_DEFAULT_PLATFORM=linux/amd64 +```