infra: fixe passerelle 4nk_network et remap port blindbit-oracle (18000)
This commit is contained in:
parent
84f1e838b7
commit
f581bddd1e
@ -27,7 +27,7 @@ services:
|
|||||||
- ./modules/bitcoin/conf/bitcoin.conf:/home/bitcoin/.bitcoin/bitcoin.conf
|
- ./modules/bitcoin/conf/bitcoin.conf:/home/bitcoin/.bitcoin/bitcoin.conf
|
||||||
- ./modules/bitcoin/logs:/home/bitcoin/.bitcoin/logs
|
- ./modules/bitcoin/logs:/home/bitcoin/.bitcoin/logs
|
||||||
dns:
|
dns:
|
||||||
- 172.17.0.1 # Gateway Docker pour accéder à dnsmasq
|
- 172.20.0.1 # Gateway Docker pour accéder à dnsmasq
|
||||||
networks:
|
networks:
|
||||||
4nk_network:
|
4nk_network:
|
||||||
ipv4_address: 172.20.0.11
|
ipv4_address: 172.20.0.11
|
||||||
@ -41,40 +41,14 @@ services:
|
|||||||
hostname: blindbit-oracle.local
|
hostname: blindbit-oracle.local
|
||||||
ports:
|
ports:
|
||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
|
|
||||||
environment:
|
|
||||||
- HOST=blindbit-oracle.local:8000
|
|
||||||
- CHAIN="signet"
|
|
||||||
- RPC_ENDPOINT="http://bitcoin.local:38332"
|
|
||||||
- COOKIE_PATH="/home/bitcoin/.bitcoin/signet/.cookie"
|
|
||||||
- RPC_USER=""
|
|
||||||
- RPC_PASS=""
|
|
||||||
- SYNC_START_HEIGHT=1
|
|
||||||
- MAX_PARALLEL_TWEAK_COMPUTATIONS=4
|
|
||||||
- MAX_PARALLEL_REQUESTS=4
|
|
||||||
- TWEAKS_ONLY=0
|
|
||||||
- TWEAKS_FULL_BASIC=1
|
|
||||||
- TWEAKS_FULL_WITH_DUST_FILTER=1
|
|
||||||
- TWEAKS_CUT_THROUGH_WITH_DUST_FILTER=1
|
|
||||||
- host="blindbit-oracle.local:8000"
|
|
||||||
- chain="signet"
|
|
||||||
- rpc_endpoint="http://bitcoin.local:38332"
|
|
||||||
- cookie_path="/home/bitcoin/.bitcoin/signet/.cookie"
|
|
||||||
- rpc_user=""
|
|
||||||
- rpc_pass=""
|
|
||||||
- sync_start_height=1
|
|
||||||
- max_parallel_tweak_computations=4
|
|
||||||
- max_parallel_requests=4
|
|
||||||
- tweaks_only=0
|
|
||||||
- tweaks_full_basic=1
|
|
||||||
- tweaks_full_with_dust_filter=1
|
|
||||||
- tweaks_cut_through_with_dust_filter=1
|
|
||||||
command: [ "/main", "--datadir", "/blindbit-oracle" ]
|
command: [ "/main", "--datadir", "/blindbit-oracle" ]
|
||||||
working_dir: /
|
working_dir: /
|
||||||
volumes:
|
volumes:
|
||||||
- ./modules/blindbit-oracle/conf/blindbit.toml:/blindbit-oracle/blindbit.toml:ro
|
|
||||||
- ./modules/blindbit-oracle/data:/blindbit-oracle
|
- ./modules/blindbit-oracle/data:/blindbit-oracle
|
||||||
|
- ./modules/blindbit-oracle/conf/blindbit.toml:/blindbit-oracle/blindbit.toml:ro
|
||||||
- ./modules/blindbit-oracle/logs:/blindbit-oracle/logs
|
- ./modules/blindbit-oracle/logs:/blindbit-oracle/logs
|
||||||
|
# Accès au répertoire Bitcoin pour le cookie RPC
|
||||||
|
- ./modules/bitcoin/data:/home/bitcoin/.bitcoin:ro
|
||||||
networks:
|
networks:
|
||||||
4nk_network:
|
4nk_network:
|
||||||
ipv4_address: 172.20.0.12
|
ipv4_address: 172.20.0.12
|
||||||
@ -375,6 +349,7 @@ networks:
|
|||||||
ipam:
|
ipam:
|
||||||
config:
|
config:
|
||||||
- subnet: 172.20.0.0/16
|
- subnet: 172.20.0.0/16
|
||||||
|
gateway: 172.20.0.1
|
||||||
4nk_projects_net:
|
4nk_projects_net:
|
||||||
driver: bridge
|
driver: bridge
|
||||||
ipam:
|
ipam:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user