Use rm
This commit is contained in:
parent
dbb5999776
commit
30bcc45d67
2 changed files with 8 additions and 8 deletions
8
Makefile
8
Makefile
|
@ -31,16 +31,16 @@ build-release:
|
||||||
docker save rosetta-bitcoin:$(version) | gzip > rosetta-bitcoin-$(version).tar.gz;
|
docker save rosetta-bitcoin:$(version) | gzip > rosetta-bitcoin-$(version).tar.gz;
|
||||||
|
|
||||||
run-mainnet-online:
|
run-mainnet-online:
|
||||||
docker run -d --ulimit "nofile=${NOFILE}:${NOFILE}" -v "${PWD}/bitcoin-data:/data" -e "MODE=ONLINE" -e "NETWORK=MAINNET" -e "PORT=8080" -p 8080:8080 -p 8333:8333 rosetta-bitcoin:latest
|
docker run -d --rm --ulimit "nofile=${NOFILE}:${NOFILE}" -v "${PWD}/bitcoin-data:/data" -e "MODE=ONLINE" -e "NETWORK=MAINNET" -e "PORT=8080" -p 8080:8080 -p 8333:8333 rosetta-bitcoin:latest
|
||||||
|
|
||||||
run-mainnet-offline:
|
run-mainnet-offline:
|
||||||
docker run -d -e "MODE=OFFLINE" -e "NETWORK=MAINNET" -e "PORT=8081" -p 8081:8081 rosetta-bitcoin:latest
|
docker run -d --rm -e "MODE=OFFLINE" -e "NETWORK=MAINNET" -e "PORT=8081" -p 8081:8081 rosetta-bitcoin:latest
|
||||||
|
|
||||||
run-testnet-online:
|
run-testnet-online:
|
||||||
docker run -d --ulimit "nofile=${NOFILE}:${NOFILE}" -v "${PWD}/bitcoin-data:/data" -e "MODE=ONLINE" -e "NETWORK=TESTNET" -e "PORT=8080" -p 8080:8080 -p 18333:18333 rosetta-bitcoin:latest
|
docker run -d --rm --ulimit "nofile=${NOFILE}:${NOFILE}" -v "${PWD}/bitcoin-data:/data" -e "MODE=ONLINE" -e "NETWORK=TESTNET" -e "PORT=8080" -p 8080:8080 -p 18333:18333 rosetta-bitcoin:latest
|
||||||
|
|
||||||
run-testnet-offline:
|
run-testnet-offline:
|
||||||
docker run -d -e "MODE=OFFLINE" -e "NETWORK=TESTNET" -e "PORT=8081" -p 8081:8081 rosetta-bitcoin:latest
|
docker run -d --rm -e "MODE=OFFLINE" -e "NETWORK=TESTNET" -e "PORT=8081" -p 8081:8081 rosetta-bitcoin:latest
|
||||||
|
|
||||||
train:
|
train:
|
||||||
./zstd-train.sh $(network) transaction $(data-directory)
|
./zstd-train.sh $(network) transaction $(data-directory)
|
||||||
|
|
|
@ -61,25 +61,25 @@ at port `8080`.
|
||||||
|
|
||||||
#### Mainnet:Online
|
#### Mainnet:Online
|
||||||
```text
|
```text
|
||||||
docker run -d --ulimit "nofile=100000:100000" -v "$(pwd)/bitcoin-data:/data" -e "MODE=ONLINE" -e "NETWORK=MAINNET" -e "PORT=8080" -p 8080:8080 -p 8333:8333 rosetta-bitcoin:latest
|
docker run -d --rm --ulimit "nofile=100000:100000" -v "$(pwd)/bitcoin-data:/data" -e "MODE=ONLINE" -e "NETWORK=MAINNET" -e "PORT=8080" -p 8080:8080 -p 8333:8333 rosetta-bitcoin:latest
|
||||||
```
|
```
|
||||||
_If you cloned the repository, you can run `make run-mainnet-online`._
|
_If you cloned the repository, you can run `make run-mainnet-online`._
|
||||||
|
|
||||||
#### Mainnet:Offline
|
#### Mainnet:Offline
|
||||||
```text
|
```text
|
||||||
docker run -d -e "MODE=OFFLINE" -e "NETWORK=MAINNET" -e "PORT=8081" -p 8081:8081 rosetta-bitcoin:latest
|
docker run -d --rm -e "MODE=OFFLINE" -e "NETWORK=MAINNET" -e "PORT=8081" -p 8081:8081 rosetta-bitcoin:latest
|
||||||
```
|
```
|
||||||
_If you cloned the repository, you can run `make run-mainnet-offline`._
|
_If you cloned the repository, you can run `make run-mainnet-offline`._
|
||||||
|
|
||||||
#### Testnet:Online
|
#### Testnet:Online
|
||||||
```text
|
```text
|
||||||
docker run -d --ulimit "nofile=100000:100000" -v "$(pwd)/bitcoin-data:/data" -e "MODE=ONLINE" -e "NETWORK=TESTNET" -e "PORT=8080" -p 8080:8080 -p 18333:18333 rosetta-bitcoin:latest
|
docker run -d --rm --ulimit "nofile=100000:100000" -v "$(pwd)/bitcoin-data:/data" -e "MODE=ONLINE" -e "NETWORK=TESTNET" -e "PORT=8080" -p 8080:8080 -p 18333:18333 rosetta-bitcoin:latest
|
||||||
```
|
```
|
||||||
_If you cloned the repository, you can run `make run-testnet-online`._
|
_If you cloned the repository, you can run `make run-testnet-online`._
|
||||||
|
|
||||||
#### Testnet:Offline
|
#### Testnet:Offline
|
||||||
```text
|
```text
|
||||||
docker run -d -e "MODE=OFFLINE" -e "NETWORK=TESTNET" -e "PORT=8081" -p 8081:8081 rosetta-bitcoin:latest
|
docker run -d --rm -e "MODE=OFFLINE" -e "NETWORK=TESTNET" -e "PORT=8081" -p 8081:8081 rosetta-bitcoin:latest
|
||||||
```
|
```
|
||||||
_If you cloned the repository, you can run `make run-testnet-offline`._
|
_If you cloned the repository, you can run `make run-testnet-offline`._
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue