mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 01:41:11 +01:00
seednode-docker: Support all environment variables
This commit is contained in:
parent
2caf328949
commit
521a7ebb92
@ -6,4 +6,4 @@ RUN tar xvf /seednode.tar
|
||||
FROM gcr.io/distroless/java11-debian11
|
||||
COPY --from=build /seednode /seednode
|
||||
|
||||
ENTRYPOINT ["java", "-classpath", "'{{ CLASS_PATH }}'", "'{{ MAIN_CLASS }}'"]
|
||||
ENTRYPOINT ["java", "-classpath", "'{{ CLASS_PATH }}'", "'{{ MAIN_CLASS }}'"]
|
||||
|
36
seednode/deployment_v2/docker/.env
Normal file
36
seednode/deployment_v2/docker/.env
Normal file
@ -0,0 +1,36 @@
|
||||
# java memory and remote management options
|
||||
JDK_JAVA_OPTIONS=-Xms4096M -Xmx4096M -XX:+ExitOnOutOfMemoryError
|
||||
|
||||
# use external tor (change to -1 for internal tor binary)
|
||||
BISQ_EXTERNAL_TOR_PORT=9051
|
||||
|
||||
# bitcoin p2p settings
|
||||
BITCOIN_P2P_HOST=127.0.0.1
|
||||
BITCOIN_P2P_PORT=8333
|
||||
|
||||
# bitcoind rpc ports
|
||||
BITCOIN_RPC_HOST=192.168.1.1
|
||||
BITCOIN_RPC_PORT=8332
|
||||
BITCOIN_RPC_BLOCKNOTIFY_HOST=127.0.0.1
|
||||
BITCOIN_RPC_BLOCKNOTIFY_PORT=5120
|
||||
|
||||
BITCOIN_RPC_USER=bisq
|
||||
BITCOIN_RPC_PASS=bisq
|
||||
|
||||
# bisq pathnames
|
||||
BISQ_HOME=/bisq
|
||||
BISQ_APP_NAME=bisq-seednode
|
||||
|
||||
BISQ_BASE_CURRENCY=btc_mainnet
|
||||
BISQ_DAO_FULLNODE=true
|
||||
|
||||
# bisq node settings
|
||||
BISQ_NODE_PORT=8000
|
||||
BISQ_MAX_CONNECTIONS=20
|
||||
BISQ_MAX_MEMORY=4000
|
||||
|
||||
# set to true for BSQ explorer
|
||||
BISQ_DUMP_BLOCKCHAIN=false
|
||||
|
||||
# set to true for BSQ markets
|
||||
BISQ_DUMP_STATISTICS=false
|
23
seednode/deployment_v2/docker/docker-compose.yml
Normal file
23
seednode/deployment_v2/docker/docker-compose.yml
Normal file
@ -0,0 +1,23 @@
|
||||
version: '3.7'
|
||||
|
||||
services:
|
||||
bisq-seednode:
|
||||
image: bisq/seednode:latest
|
||||
command:
|
||||
- --fullDaoNode=${BISQ_DAO_FULLNODE}
|
||||
- --userDataDir=${BISQ_HOME}
|
||||
- --appName=${BISQ_APP_NAME}
|
||||
- --baseCurrencyNetwork=${BISQ_BASE_CURRENCY}
|
||||
- --maxConnections=${BISQ_MAX_CONNECTIONS}
|
||||
- --maxMemory=${BISQ_MAX_MEMORY}
|
||||
- --nodePort=${BISQ_NODE_PORT}
|
||||
- --btcNodes=${BITCOIN_P2P_HOST}:${BITCOIN_P2P_PORT}
|
||||
- --rpcBlockNotificationHost=${BITCOIN_RPC_BLOCKNOTIFY_HOST}
|
||||
- --rpcBlockNotificationPort=${BITCOIN_RPC_BLOCKNOTIFY_PORT}
|
||||
- --rpcHost=${BITCOIN_RPC_HOST}
|
||||
- --rpcPort=${BITCOIN_RPC_PORT}
|
||||
- --rpcUser=${BITCOIN_RPC_USER}
|
||||
- --rpcPassword=${BITCOIN_RPC_PASS}
|
||||
- --dumpBlockchainData=${BISQ_DUMP_BLOCKCHAIN}
|
||||
- --dumpStatistics=${BISQ_DUMP_STATISTICS}
|
||||
- --torControlPort=${BISQ_EXTERNAL_TOR_PORT}
|
Loading…
Reference in New Issue
Block a user