fix(docker-compose): For a single-service Compose file prefill our example README.md with docker compose --profile 'build' build ...

... instead of docker compose --profile
'build-service' build since the latter won't exist.
This commit is contained in:
2023-12-24 03:18:11 +01:00
parent adb7bf6795
commit d6ea3f1853
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ docker context create fully.qualified.domain.name --docker 'host=ssh://root@full
FIXME We build the `vault` image locally. Our adjustment to the official image is simply adding `/tmp/vault` to it. See [build-context/Dockerfile](build-context/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-vault' build
docker compose --project-name "${COMPOSE_PROJECT}" --file "${COMPOSE_FILE}" --file "${COMPOSE_OVERRIDE}" --env-file "${COMPOSE_ENV}" --profile 'build' build
```
## Push