mirror of
https://github.com/ClaperCo/Claper.git
synced 2025-12-16 11:57:58 +01:00
Update docker compose doc
This commit is contained in:
@@ -53,9 +53,20 @@ A Docker Compose [reference file](https://github.com/ClaperCo/Claper/blob/main/d
|
||||
```sh
|
||||
git clone https://github.com/ClaperCo/Claper.git
|
||||
cd Claper
|
||||
docker-compose up
|
||||
docker compose up
|
||||
```
|
||||
|
||||
## Using Docker Compose for Dev
|
||||
|
||||
To easy check new features, it is possible to directly build the Docker image from the source code and run the container with the [docker-compose-dev.yml](https://github.com/ClaperCo/Claper/blob/main/docker-compose-dev.yml) file.
|
||||
|
||||
```sh
|
||||
git clone https://github.com/ClaperCo/Claper.git
|
||||
cd Claper
|
||||
docker compose -f docker-compose-dev.yml up
|
||||
```
|
||||
|
||||
|
||||
### ARM architecture
|
||||
|
||||
If you are using an ARM architecture (like Apple M1), the original Docker image won't work. You can build the image yourself by replacing the `BUILDER_IMAGE` argument in the `Dockerfile` with `ARG BUILDER_IMAGE="hexpm/elixir-arm64:1.13.2-erlang-24.2.1-debian-bullseye-20210902-slim"` and then build the image as described above.
|
||||
|
||||
Reference in New Issue
Block a user