Skip to content

Commit

Permalink
fix: add signer compose and configuration files
Browse files Browse the repository at this point in the history
  • Loading branch information
bowtiedbot committed Oct 25, 2024
1 parent 01e2381 commit 5394a10
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 0 deletions.
27 changes: 27 additions & 0 deletions compose-files/extra-services/signer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: "3.5"
services:
stacks-signer:
image: blockstack/stacks-signer:${STACKS_SIGNER_VERSION:-latest}
container_name: stacks-signer
restart: on-failure
volumes:
- ${SCRIPTPATH}/conf/${NETWORK}:/src/stacks-signer
- ${SCRIPTPATH}/persistent-data/${NETWORK}/stacks-signer:/root/stacks-signer/data
env_file:
- ${SCRIPTPATH}/.env
networks:
- default
profiles:
- stacks-blockchain
command:
[
"/bin/stacks-signer",
"run",
"--config",
"/src/stacks-signer/Signer.toml",
]
networks:
default:
name: ${DOCKER_NETWORK}
ipam:
driver: default
7 changes: 7 additions & 0 deletions conf/mainnet/Signer.toml.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
node_host = "stacks-blockchain:20443"
endpoint = "0.0.0.0:30000"
network = "mainnet"
db_path = "/root/stacks-signer/data/signer.sqlite"
auth_password = ""
stacks_private_key = ""
block_proposal_timeout_ms = 180000
7 changes: 7 additions & 0 deletions conf/mocknet/Signer.toml.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
node_host = "stacks-blockchain:20443"
endpoint = "0.0.0.0:30000"
network = "testnet"
db_path = "/root/stacks-signer/data/signer.sqlite"
auth_password = ""
stacks_private_key = ""
block_proposal_timeout_ms = 180000
7 changes: 7 additions & 0 deletions conf/testnet/Signer.toml.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
node_host = "stacks-blockchain:20443"
endpoint = "0.0.0.0:30000"
network = "testnet"
db_path = "/root/stacks-signer/data/signer.sqlite"
auth_password = ""
stacks_private_key = ""
block_proposal_timeout_ms = 180000

0 comments on commit 5394a10

Please sign in to comment.