Compare commits

..

No commits in common. "3afaafbca2e50c9cae05f1657ae0005e97328a50" and "988a490f85f030813776302687b0f7d8e03446d1" have entirely different histories.

2 changed files with 24 additions and 28 deletions

View File

@ -1,18 +1,13 @@
# Configuration globale # Configuration globale
signet=1
server=1
datadir=/home/bitcoin/.bitcoin datadir=/home/bitcoin/.bitcoin
server=1
[signet]
daemon=0
txindex=1 txindex=1
upnp=1
#debug=1 #debug=1
#loglevel=debug #loglevel=debug
logthreadnames=1 logthreadnames=1
signet=1
onion=tor:9050 onion=tor:9050
listenonion=1 listenonion=1
onlynet=onion
# Paramètres RPC # Paramètres RPC
rpcauth=bitcoin:c8ea921c7357bd6a5a8a7c43a12350a7$955e25b17672987b17c5a12f12cd8b9c1d38f0f86201c8cd47fc431f2e1c7956 rpcauth=bitcoin:c8ea921c7357bd6a5a8a7c43a12350a7$955e25b17672987b17c5a12f12cd8b9c1d38f0f86201c8cd47fc431f2e1c7956
@ -23,8 +18,9 @@ rpcdoccheck=1
# Paramètres ZMQ # Paramètres ZMQ
zmqpubhashblock=tcp://0.0.0.0:29000 zmqpubhashblock=tcp://0.0.0.0:29000
zmqpubrawtx=tcp://0.0.0.0:29001 zmqpubrawtx=tcp://0.0.0.0:29000
[signet]
listen=1 listen=1
bind=0.0.0.0:38333 bind=0.0.0.0:38333
rpcbind=0.0.0.0:38332 rpcbind=0.0.0.0:38332
@ -42,4 +38,4 @@ wallet=watchonly
maxtxfee=1 maxtxfee=1
addnode=tlv2yqamflv22vfdzy2hha2nwmt6zrwrhjjzz4lx7qyq7lyc6wfhabyd.onion addnode=tlv2yqamflv22vfdzy2hha2nwmt6zrwrhjjzz4lx7qyq7lyc6wfhabyd.onion
addnode=6xi33lwwslsx3yi3f7c56wnqtdx4v73vj2up3prrwebpwbz6qisnqbyd.onion addnode=6xi33lwwslsx3yi3f7c56wnqtdx4v73vj2up3prrwebpwbz6qisnqbyd.onion
addnode=id7e3r3d2epen2v65jebjhmx77aimu7oyhcg45zadafypr4crqsytfid.onion addnode=id7e3r3d2epen2v65jebjhmx77aimu7oyhcg45zadafypr4crqsytfid.onion

View File

@ -1,6 +1,6 @@
services: services:
tor: tor:
image: btcpayserver/tor:0.4.8.10 image: dperson/torproxy
container_name: tor-proxy container_name: tor-proxy
networks: networks:
btcnet: btcnet:
@ -49,19 +49,13 @@ services:
btcnet: btcnet:
aliases: aliases:
- blindbit - blindbit
healthcheck:
test: ["CMD-SHELL", "code=$(curl -s -o /dev/null -w '%{http_code}' http://localhost:8000); [ \"$code\" != \"000\" ]"]
interval: 15s
timeout: 5s
retries: 10
restart: unless-stopped restart: unless-stopped
sdk_relay: sdk_relay:
image: git.4nkweb.com/4nk/sdk_relay:dev image: git.4nkweb.com/4nk/sdk_relay:dev
container_name: sdk_relay container_name: sdk_relay
depends_on: depends_on:
blindbit: - blindbit
condition: service_healthy
volumes: volumes:
- ./relay/sdk_relay.conf:/home/bitcoin/.conf:ro - ./relay/sdk_relay.conf:/home/bitcoin/.conf:ro
- sdk_data:/home/bitcoin/.4nk - sdk_data:/home/bitcoin/.4nk
@ -81,14 +75,7 @@ services:
- HOME=/home/bitcoin - HOME=/home/bitcoin
- RUST_LOG=DEBUG - RUST_LOG=DEBUG
entrypoint: > entrypoint: >
/bin/sh -lc ' /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"
echo "[relay] waiting for blindbit:8000...";
until [ "$(curl -s -o /dev/null -w "%{http_code}" http://blindbit:8000)" != "000" ]; do sleep 2; done
echo "[relay] waiting for bitcoind RPC 38332...";
until [ "$(curl -s -o /dev/null -w "%{http_code}" http://bitcoin:38332)" != "000" ]; do sleep 2; done
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
'
healthcheck: healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8090/health"] test: ["CMD", "curl", "-f", "http://localhost:8090/health"]
interval: 30s interval: 30s
@ -129,8 +116,6 @@ services:
ihm_client: ihm_client:
image: git.4nkweb.com/4nk/ihm_client:dev image: git.4nkweb.com/4nk/ihm_client:dev
container_name: ihm_client container_name: ihm_client
env_file:
- .env
ports: ports:
- "3003:3003" - "3003:3003"
networks: networks:
@ -141,6 +126,21 @@ services:
- "com.centurylinklabs.watchtower.enable=true" - "com.centurylinklabs.watchtower.enable=true"
restart: unless-stopped restart: unless-stopped
sdk_signer:
image: git.4nkweb.com/4nk/sdk_signer:dev
container_name: sdk_signer
env_file:
- .env
ports:
- "9090:9090"
networks:
btcnet:
aliases:
- sdk_signer
labels:
- "com.centurylinklabs.watchtower.enable=true"
restart: unless-stopped
sdk_storage: sdk_storage:
image: git.4nkweb.com/4nk/sdk_storage:dev image: git.4nkweb.com/4nk/sdk_storage:dev
container_name: sdk_storage container_name: sdk_storage
@ -185,4 +185,4 @@ networks:
driver: bridge driver: bridge
ipam: ipam:
config: config:
- subnet: 172.20.0.0/16 - subnet: 172.20.0.0/16