Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit authored Nov 17, 2024
1 parent b453dd0 commit be98fb7
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

0 comments on commit be98fb7

Please sign in to comment.