knots-startos/docker_entrypoint.sh
Mariusz Kogen 1add04c89f
Build refactor (#116)
* Add option for Ordinals Spam Filter
* update alpine base image to 3.16
* old GPG keys cleanup
* update key server
* use ssl when installing apk's for finall image
* remove apk cache after install

* Security update for build dependencies

* Automate submodule update handling with make

* Build refactor

* make arm and x86 build targets update
2023-06-19 16:05:25 +00:00

11 lines
321 B
Bash
Executable File

#!/bin/bash
set -euo pipefail
CONFIG_FILE="/root/.bitcoin/start9/config.yaml"
export EMBASSY_IP=$(ip -4 route list match 0/0 | awk '{print $3}')
export PEER_TOR_ADDRESS=$(yq e '.peer-tor-address' "$CONFIG_FILE")
export RPC_TOR_ADDRESS=$(yq e '.rpc-tor-address' "$CONFIG_FILE")
exec tini -p SIGTERM -- bitcoind-manager