mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 21:06:04 +00:00
docs: move file name to block, slightly reformulate docker compose instructions
This commit is contained in:
@@ -48,8 +48,7 @@ docker run -p 1337:1337 -v /path/to/data:/data bknd
|
|||||||
|
|
||||||
If you want to use docker compose and build the image directly from the git repository.
|
If you want to use docker compose and build the image directly from the git repository.
|
||||||
|
|
||||||
`compose.yml`
|
```yaml compose.yml
|
||||||
```yaml
|
|
||||||
services:
|
services:
|
||||||
bknd:
|
bknd:
|
||||||
pull_policy: build
|
pull_policy: build
|
||||||
@@ -62,13 +61,12 @@ services:
|
|||||||
- ${DATA_DIR:-.}/data:/data
|
- ${DATA_DIR:-.}/data:/data
|
||||||
```
|
```
|
||||||
|
|
||||||
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`
|
The docker compose file can be extended to build a specific version of bknd.
|
||||||
```yaml
|
Extend the `build` section with `args` and `labels`.
|
||||||
|
Inside `args`, you can pass a `VERSION` build argument, and use `labels` so the built image receives a unique identifier.
|
||||||
|
|
||||||
|
```yaml compose.yml
|
||||||
services:
|
services:
|
||||||
bknd:
|
bknd:
|
||||||
pull_policy: build
|
pull_policy: build
|
||||||
|
|||||||
Reference in New Issue
Block a user