Compare commits

...

4 Commits

Author SHA1 Message Date
omaroughriss
83af546bc5 Add .env file to signer service 2025-09-10 14:30:45 +02:00
omaroughriss
47aa2dd934 Update relay verbosity 2025-09-10 14:30:13 +02:00
omaroughriss
caeb6d822f Use 4nk blindbit image 2025-09-10 14:29:54 +02:00
omaroughriss
207aee9917 Update bitcoin verbosity 2025-09-10 14:29:29 +02:00
2 changed files with 8 additions and 9 deletions

View File

@ -2,8 +2,8 @@
datadir=/home/bitcoin/.bitcoin datadir=/home/bitcoin/.bitcoin
server=1 server=1
txindex=1 txindex=1
debug=1 #debug=1
loglevel=debug #loglevel=debug
logthreadnames=1 logthreadnames=1
signet=1 signet=1
onion=tor:9050 onion=tor:9050

View File

@ -24,7 +24,7 @@ services:
entrypoint: > entrypoint: >
/bin/sh -c " /bin/sh -c "
chown -R bitcoin:bitcoin /home/bitcoin/.bitcoin || echo 'warn: chown partiel (fichiers bind-mount Windows)'; chown -R bitcoin:bitcoin /home/bitcoin/.bitcoin || echo 'warn: chown partiel (fichiers bind-mount Windows)';
exec su-exec bitcoin bitcoind -conf=/etc/bitcoin/bitcoin.conf -signet -printtoconsole" exec su-exec bitcoin bitcoind -conf=/etc/bitcoin/bitcoin.conf -signet"
healthcheck: healthcheck:
test: ["CMD", "bitcoin-cli", "-conf=/etc/bitcoin/bitcoin.conf", "getblockchaininfo"] test: ["CMD", "bitcoin-cli", "-conf=/etc/bitcoin/bitcoin.conf", "getblockchaininfo"]
interval: 30s interval: 30s
@ -33,7 +33,7 @@ services:
restart: unless-stopped restart: unless-stopped
blindbit: blindbit:
image: setavenger/blindbit-oracle:dev image: git.4nkweb.com/4nk/blindbit-oracle:dev
container_name: blindbit-oracle container_name: blindbit-oracle
depends_on: depends_on:
bitcoin: bitcoin:
@ -72,13 +72,10 @@ services:
max-size: "10m" max-size: "10m"
max-file: "3" max-file: "3"
environment: environment:
- RUST_LOG=debug,bitcoincore_rpc=trace
- HOME=/home/bitcoin - HOME=/home/bitcoin
- BITCOIN_COOKIE_PATH=/home/bitcoin/.bitcoin/signet/.cookie - RUST_LOG=DEBUG
entrypoint: > entrypoint: >
/bin/sh -c " /bin/sh -lc "mkdir -p /home/bitcoin/.4nk/logs && exec /usr/local/bin/sdk_relay --config /home/bitcoin/.conf 2>&1 | tee -a /home/bitcoin/.4nk/logs/sdk_relay.log"
mkdir -p /home/bitcoin/.4nk &&
strace -f -e trace=file /usr/local/bin/sdk_relay --config /home/bitcoin/.conf"
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8090/health"] test: ["CMD", "curl", "-f", "http://localhost:8090/health"]
interval: 30s interval: 30s
@ -132,6 +129,8 @@ services:
sdk_signer: sdk_signer:
image: git.4nkweb.com/4nk/sdk_signer:dev image: git.4nkweb.com/4nk/sdk_signer:dev
container_name: sdk_signer container_name: sdk_signer
env_file:
- .env
ports: ports:
- "9090:9090" - "9090:9090"
networks: networks: