docs(docker-compose): Flesh out individual build processes

This commit is contained in:
2023-06-24 23:22:41 +02:00
parent 024a056d9e
commit 494228b367
2 changed files with 8 additions and 0 deletions

View File

@@ -26,6 +26,7 @@ docker context create fully.qualified.domain.name --docker 'host=ssh://root@full
```
## Build
We build the `vault` image locally. Our adjustment to the official image is simply adding `/tmp/vault` to it. See [build-context/vault/Dockerfile](build-context/vault/Dockerfile). We use `/tmp/vault` to bind-mount a dedicated ZFS dataset for the application's `tmpdir` location.
```
docker compose --project-name "${COMPOSE_PROJECT}" --file "${COMPOSE_FILE}" --file "${COMPOSE_OVERRIDE}" --env-file "${COMPOSE_ENV}" --profile 'build' build