mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-05-20 13:56:45 +00:00

* [DEV-167] Created Dockerfile, dockerignore, and docker-compose. * [DEV-167] Updated docker-compose to use remote image. * [DEV-167] Added --addrindex to docker-compose. * [DEV-167] Switched to testnet and plugged in the correct address. * [DEV-167] Removed the third and fourth nodes from docker-compose. * [DEV-167] Exposed RPC port, added rpcuser and rpcpass. * [DEV-167] Wrangled RPC stuff into shape. Moved docker stuff into btcd/docker. * [DEV-167] Moved dockerignore back to root. Corrected path for rpc.cert and rpc.key. * [DEV-167] Added Jenkins job stuff. * [DEV-167] Added deploy.sh. * [DEV-167] Removed .travis.yaml and a couple of files that shouldn't be in this branch.
27 lines
643 B
YAML
27 lines
643 B
YAML
version: '3'
|
|
services:
|
|
first:
|
|
image: 956501169541.dkr.ecr.us-east-1.amazonaws.com/btcd:latest
|
|
command: [
|
|
"btcd",
|
|
"--testnet",
|
|
"--addrindex",
|
|
"--generate",
|
|
"--miningaddr=dagtest:qrm4zaetvny2yuh4wudf8y43fd20lunkxs8quragg8",
|
|
"--rpcuser=user",
|
|
"--rpcpass=pass",
|
|
"--rpclisten=0.0.0.0:18334",
|
|
"--rpccert=docker/rpc.cert",
|
|
"--rpckey=docker/rpc.key"
|
|
]
|
|
ports: ["18334:18334"]
|
|
second:
|
|
image: 956501169541.dkr.ecr.us-east-1.amazonaws.com/btcd:latest
|
|
links: ["first"]
|
|
command: [
|
|
"btcd",
|
|
"--testnet",
|
|
"--addrindex",
|
|
"--connect=first"
|
|
]
|