compose: add build args and remove defaults

- repository and hashes
- bitcoin version and sha256sums hash
Signed-off-by: Lakshya Singh <lakshay.singh1108@gmail.com>
This commit is contained in:
Lakshya Singh
2024-03-13 22:00:22 +05:30
parent 4eab2f968a
commit 91e4c9b8af
7 changed files with 47 additions and 23 deletions

View File

@@ -3,6 +3,9 @@ services:
bitcoin-core:
build:
context: ./bitcoind
args:
- BITCOIN_VERSION
- BITCOIN_SHA256SUMS_HASH
image: bitcoind:${IMAGE_TAG:-latest}
container_name: bitcoind-test
volumes:
@@ -19,6 +22,15 @@ services:
core-lightning:
build:
context: ./lightningd
args:
- CORE_LIGHTNING_REPO
- CORE_LIGHTNING_GIT_HASH
- CLBOSS_REPO
- CLBOSS_GIT_HASH
- CLN_PLUGINS_REPO
- CLN_PLUGINS_GIT_HASH
- VLS_REPO
- VLS_GIT_HASH
image: lightningd:${IMAGE_TAG:-latest}
container_name: lightningd-test
command:
@@ -46,6 +58,9 @@ services:
txoo:
build:
context: ./txood
args:
- TXOO_REPO
- TXOO_GIT_HASH
image: txood:${IMAGE_TAG:-latest}
container_name: txood-test
restart: unless-stopped
@@ -64,6 +79,9 @@ services:
vls:
build:
context: ./vlsd
args:
- VLS_REPO
- VLS_GIT_HASH
image: vlsd:${IMAGE_TAG:-latest}
container_name: vlsd-test
profiles: