Compare commits

..

2 Commits

Author SHA1 Message Date
Michiel Hazelhof
6abde8171b Merge 7bfa22a214 into 2c9e4fd9fa 2025-12-09 09:45:40 +01:00
Michiel Hazelhof
7bfa22a214 Add note for the new version
Not sure about the correct url
2025-12-09 09:45:03 +01:00
2 changed files with 1 additions and 3 deletions

View File

@@ -74,11 +74,9 @@ You may now simply create the file `/path/to/bwdata/docker/docker-compose.overri
services:
api:
image: bitbetter/api
pull_policy: never
identity:
image: bitbetter/identity
pull_policy: never
```
You'll also want to edit the `/path/to/bwdata/scripts/run.sh` file. In the `function restart()` block, comment out the call to `dockerComposePull`.

View File

@@ -64,5 +64,5 @@ docker tag bitbetter/api bitbetter/api:$BW_VERSION
docker tag bitbetter/identity bitbetter/identity:$BW_VERSION
# Remove old instances of the image after a successful build.
ids=$( docker image ls --format="{{ .ID }} {{ .Tag }}" 'bitbetter/*' | grep -E -v -- "CREATED|latest|${BW_VERSION}" | awk '{ ids = (ids ? ids FS $1 : $1) } END { print ids }' )
ids=$( docker images bitbetter/* | grep -E -v -- "CREATED|latest|${BW_VERSION}" | awk '{ print $3 }' )
[ -n "$ids" ] && docker rmi $ids || true