Months ago I wrote a suite to make hivemind easy to deploy with docker (https://steemit.com/utopian-io/@drakos/hivemind-easy-deployment-with-hivemind-docker). This an update to support communities.
The latest hivemind branch that supports communities is 214-core (https://github.com/steemit/hivemind/tree/214-core) but it hasn't been yet merged into the master branch and their dockerhub image hasn't been updated (the current one is 4 months old). That's probably why nobody was aware of that branch!
Hivemind-communities requires a resynch and reindex, given the added columns in a few postgres tables.
https://github.com/Jolly-Pirate/hivemind-docker
./run.sh dumpdb)214-core, I built a docker image and integrated that in the ./run.sh build command. You can always build your own image, just tag it hivemind:latest and you're good to go../run.sh testhivecom - test a hive-communities API call to hivemind./run.sh testjussicom - test a hive-communities API call to jussiRequirements: 240GB for the database and 50GB for the dump file.
has updated his hivemind (https://steemit.com/hive-101863/@emrebeyler/announcing-a-new-hivemind-communuties-node-https-hivemind-communities-emrebeyler-me), we will use that in our update procedure.
./run.sh stop all./run.sh stop jussipgdata foldersudo rm -rf pgdata./run.sh initdb.env file and update DB_DUMP_URL to thisDB_DUMP_URL=https://hivemind-communities.emrebeyler.me/dumps/hive_latest.dump./run.sh start postgres./run.sh importdb./run.sh start hiveDEV_config.json file {
"name": "bridge",
"translate_to_appbase": false,
"urls": [
["bridge", "http://hive:8080"]
],
"ttls": [
["bridge", -1]
],
"timeouts": [
["bridge", 30]
]
}
and start it
./run.sh start jussi