Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
alexanderwiederin committed Nov 6, 2023
1 parent 8b58879 commit 23d68c3
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
name: Lint Kotlin
name: Kotlin Continuous Integration Checks

on:
pull_request:
types:
- opened
on: [push, pull_request]

jobs:
lint-kotlin:
Expand Down
48 changes: 48 additions & 0 deletions bindings/kotlin/ldk-node-jvm/lib/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
version: '3'

services:
bitcoin:
image: ruimarinho/bitcoin-core:latest
platform: linux/amd64
command:
[
"-printtoconsole",
"-regtest=1",
"-rpcallowip=0.0.0.0/0", # Adjust this to your Docker network range
"-rpcbind=0.0.0.0",
"-rpcuser=user",
"-rpcpassword=pass",
]
ports:
- "18443:18443" # Regtest RPC port
- "18444:18444" # Regtest P2P port
networks:
- bitcoin-electrs
healthcheck:
test: ["CMD", "bitcoin-cli", "-regtest", "-rpcuser=user", "-rpcpassword=pass", "getblockchaininfo"]
interval: 5s
timeout: 10s
retries: 5
electrs:
image: blockstream/esplora:electrs-latest
platform: linux/amd64
depends_on:
bitcoin:
condition: service_healthy
command:
[
"/app/electrs_bitcoin/bin/electrs",
"-vvvv",
"--timestamp",
"--jsonrpc-import",
"--cookie=user:pass",
"--network=regtest",
"--electrum-rpc-addr=bitcoin:50001",
"--daemon-rpc-addr=bitcoin:18443", # Add this line to specify Bitcoin daemon address
]
networks:
- bitcoin-electrs

networks:
bitcoin-electrs:
driver: bridge

0 comments on commit 23d68c3

Please sign in to comment.