Finish the sentences

This commit is contained in:
N.A. Walhof
2025-07-03 15:05:49 +02:00
parent e76e3531d7
commit a4ddf780ce

View File

@@ -46,7 +46,9 @@ docker run -p 1337:1337 -v /path/to/data:/data bknd
## Docker compose example
If you want to use docker compose and build the image directly from
If you want to use docker compose and build the image directly from the git repository.
`compose.yml`
```yaml
services:
bknd:
@@ -60,17 +62,22 @@ services:
- ${DATA_DIR:-.}/data:/data
```
When you want to build for a specific version
The docker compose can be extended to build a specific version of bknd.
Extend the build command with `args` and `labels`.
Within the args you can pass a `VERSION` build argument.
and labels will ensure that the image that has been build a unique identifier has.
`compose.yml`
```yaml
services:
bknd:
pull_policy: build
build:
build:
context: https://github.com/bknd-io/bknd.git#main:docker
args:
VERSION: 0.14.0
VERSION: <version>
labels:
- x-bknd-version=0.14.0
- x-bknd-version=<version>
ports:
- 1337:1337
environment: