Compare commits

..

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

3 changed files with 29 additions and 2 deletions

View File

@ -37,6 +37,7 @@ PORT=
API_BASE_URL=
DEFAULT_STORAGE=
# Variables d'environnement pour l'application front-end
NEXT_PUBLIC_4NK_URL=
NEXT_PUBLIC_FRONT_APP_HOST=

View File

@ -1,5 +1,5 @@
# Configuration pour blindbit-oracle
http_host = "0.0.0.0:8000"
host = "0.0.0.0:8000"
# Définit la chaîne sur laquelle le wallet fonctionne
chain = "signet"

View File

@ -44,7 +44,7 @@ services:
- bitcoin_data:/home/bitcoin/.bitcoin
entrypoint: >
sh -c "cp /tmp/blindbit.toml /root/.blindbit-oracle/blindbit.toml &&
./main -datadir /root/.blindbit-oracle"
./main"
networks:
btcnet:
aliases:
@ -82,6 +82,10 @@ services:
- RUST_LOG=DEBUG
entrypoint: >
/bin/sh -lc '
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
'
@ -137,6 +141,27 @@ services:
- "com.centurylinklabs.watchtower.enable=true"
restart: unless-stopped
sdk_storage:
image: git.4nkweb.com/4nk/sdk_storage:dev
container_name: sdk_storage
networks:
btcnet:
aliases:
- sdk_storage
labels:
- "com.centurylinklabs.watchtower.enable=true"
restart: unless-stopped
IA:
image: alpine:latest
container_name: IA
command: tail -f /dev/null
networks:
btcnet:
aliases:
- ia
restart: unless-stopped
watchtower:
image: containrrr/watchtower
container_name: watchtower
@ -152,6 +177,7 @@ volumes:
name: 4nk_node_bitcoin_data
blindbit_data:
sdk_data:
db_data:
networks:
btcnet: