Skip to content

Commit

Permalink
feat: update signers with db_path
Browse files Browse the repository at this point in the history
  • Loading branch information
hstove committed Mar 8, 2024
1 parent a162cb6 commit b013052
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
8 changes: 7 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
version: "3.9"

x-common-vars:
- &STACKS_BLOCKCHAIN_COMMIT 8770d682aff144f4938643048a3fadb791a71013
- &STACKS_BLOCKCHAIN_COMMIT 206ea634857ea48485d810d79a866e30b3f42532
- &BTC_ADDR miEJtNKa3ASpA19v5ZhvbKTEieYjLpzCYT
- &MINER_SEED 9e446f6b0c6a96cf2190e54bcd5a8569c3e386f091605499464389b8d4e0bfc201 # stx: STEW4ZNT093ZHK4NEQKX8QJGM2Y7WWJ2FQQS5C19, btc: miEJtNKa3ASpA19v5ZhvbKTEieYjLpzCYT, pub_key: 035379aa40c02890d253cfa577964116eb5295570ae9f7287cbae5f2585f5b2c7c, wif: cStMQXkK5yTFGP3KbNXYQ3sJf2qwQiKrZwR9QJnksp32eKzef1za
- &BITCOIN_PEER_PORT 18444
Expand Down Expand Up @@ -267,7 +267,9 @@ services:
- stacks-node
volumes:
- ./signer-0.toml:/root/config.toml.in
- chainstate:/chainstate
environment:
SIGNER_DB_PATH: /chainstate/stacks-signer-1.sqlite
STACKS_NODE_HOST: stacks-node:20443
STACKS_SIGNER_ENDPOINT: 0.0.0.0:30001
SIGNER_PRIVATE_KEY: 08c14a1eada0dd42b667b40f59f7c8dedb12113613448dc04980aea20b268ddb01
Expand All @@ -291,7 +293,9 @@ services:
- stacks-node
volumes:
- ./signer-0.toml:/root/config.toml.in
- chainstate:/chainstate
environment:
SIGNER_DB_PATH: /chainstate/stacks-signer-2.sqlite
STACKS_NODE_HOST: stacks-node:20443
STACKS_SIGNER_ENDPOINT: 0.0.0.0:30002
SIGNER_PRIVATE_KEY: ce109fee08860bb16337c76647dcbc02df0c06b455dd69bcf30af74d4eedd19301
Expand All @@ -315,7 +319,9 @@ services:
- stacks-node
volumes:
- ./signer-0.toml:/root/config.toml.in
- chainstate:/chainstate
environment:
SIGNER_DB_PATH: /chainstate/stacks-signer-3.sqlite
STACKS_NODE_HOST: stacks-node:20443
STACKS_SIGNER_ENDPOINT: 0.0.0.0:30003
SIGNER_PRIVATE_KEY: e75dcb66f84287eaf347955e94fa04337298dbd95aa0dbb985771104ef1913db01
Expand Down
1 change: 1 addition & 0 deletions signer-0.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_host = "$STACKS_NODE_HOST" # eg "127.0.0.1:20443"
endpoint = "$STACKS_SIGNER_ENDPOINT" # e.g 127.0.0.1:30000
network = "testnet"
auth_password = "12345"
db_path = "$SIGNER_DB_PATH"

0 comments on commit b013052

Please sign in to comment.