mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00

Solution: Provide a stand-alone all-in-one BigchainDB container. * Document it. * Clarify that the image is not suited for joining a network.
15 lines
308 B
Bash
Executable File
15 lines
308 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# MongoDB configuration
|
|
[ "$(stat -c %U /data/db)" = mongodb ] || chown -R mongodb /data/db
|
|
|
|
# BigchainDB configuration
|
|
bigchaindb-monit-config
|
|
|
|
nohup mongod > "$HOME/.bigchaindb-monit/logs/mongodb_log_$(date +%Y%m%d_%H%M%S)" 2>&1 &
|
|
|
|
# Tendermint configuration
|
|
tendermint init
|
|
|
|
monit -d 5 -I -B
|