mirror of
https://github.com/jakeswenson/BitBetter.git
synced 2025-12-16 03:06:18 +00:00
@@ -74,9 +74,11 @@ You may now simply create the file `/path/to/bwdata/docker/docker-compose.overri
|
|||||||
services:
|
services:
|
||||||
api:
|
api:
|
||||||
image: bitbetter/api
|
image: bitbetter/api
|
||||||
|
pull_policy: never
|
||||||
|
|
||||||
identity:
|
identity:
|
||||||
image: bitbetter/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`.
|
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`.
|
||||||
|
|||||||
2
build.sh
2
build.sh
@@ -64,5 +64,5 @@ docker tag bitbetter/api bitbetter/api:$BW_VERSION
|
|||||||
docker tag bitbetter/identity bitbetter/identity:$BW_VERSION
|
docker tag bitbetter/identity bitbetter/identity:$BW_VERSION
|
||||||
|
|
||||||
# Remove old instances of the image after a successful build.
|
# Remove old instances of the image after a successful build.
|
||||||
ids=$( docker images bitbetter/* | grep -E -v -- "CREATED|latest|${BW_VERSION}" | awk '{ print $3 }' )
|
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 }' )
|
||||||
[ -n "$ids" ] && docker rmi $ids || true
|
[ -n "$ids" ] && docker rmi $ids || true
|
||||||
|
|||||||
Reference in New Issue
Block a user