mirror of
https://github.com/fusion44/blitz_api.git
synced 2026-08-16 12:20:14 +02:00
fix: adapt bootstrap timings for regtest docker
This commit is contained in:
parent
bb0dcd69d2
commit
f7bec6340f
6 changed files with 12 additions and 1 deletions
|
|
@ -8,6 +8,7 @@ gather_hw_info_interval = 60
|
|||
cpu_usage_averaging_period = 0.5
|
||||
gather_ln_info_interval = 5.0
|
||||
shell_script_path = /root
|
||||
log_level=DEBUG
|
||||
|
||||
redis_host=redis
|
||||
redis_port=6379
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ gather_hw_info_interval = 60
|
|||
cpu_usage_averaging_period = 0.5
|
||||
gather_ln_info_interval = 5.0
|
||||
shell_script_path = /root
|
||||
log_level=DEBUG
|
||||
|
||||
redis_host=redis
|
||||
redis_port=6379
|
||||
redis_db=4
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ gather_hw_info_interval = 60
|
|||
cpu_usage_averaging_period = 0.5
|
||||
gather_ln_info_interval = 5.0
|
||||
shell_script_path = /root
|
||||
log_level=DEBUG
|
||||
|
||||
redis_host=redis
|
||||
redis_port=6379
|
||||
redis_db=0
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ gather_hw_info_interval = 60
|
|||
cpu_usage_averaging_period = 0.5
|
||||
gather_ln_info_interval = 5.0
|
||||
shell_script_path = /root
|
||||
log_level=DEBUG
|
||||
|
||||
redis_host=redis
|
||||
redis_port=6379
|
||||
redis_db=1
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ gather_hw_info_interval = 60
|
|||
cpu_usage_averaging_period = 0.5
|
||||
gather_ln_info_interval = 5.0
|
||||
shell_script_path = /root
|
||||
log_level=DEBUG
|
||||
|
||||
redis_host=redis
|
||||
redis_port=6379
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
echo "LN_BACKEND: $LN_BACKEND"
|
||||
|
||||
|
||||
if [ "$LN_BACKEND" = "cln1" ]; then
|
||||
cp /code/.env.cln1 /code/.env
|
||||
|
|
@ -16,6 +18,7 @@ else
|
|||
fi
|
||||
|
||||
# wait until the nodes are ready
|
||||
sleep 60
|
||||
echo "Waiting for node $LN_BACKEND to finish bootstrapping..."
|
||||
sleep 120
|
||||
|
||||
python3 -m uvicorn app.main:app --host 0.0.0.0 --port 80
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue