create account

Hivemind Easy Deployment With hivemind-docker by drakos

View this thread on: hive.blogpeakd.comecency.com
· @drakos · (edited)
$161.46
Hivemind Easy Deployment With hivemind-docker
<center>https://cdn.steemitimages.com/DQmZvBkuJePehh9pphd9JyH1VjvyoKv5Hjswd7o7JnwgRHF/Hivemind%20Live.jpg</center>

## Project Information
Repository: https://github.com/Jolly-Pirate/hivemind-docker
Project Name: hivemind-docker

## Introduction
Hive (https://github.com/steemit/hivemind) is a "consensus interpretation" layer for the Steem blockchain, maintaining the state of social features such as post feeds, follows, and communities. Written in Python, it synchronizes an SQL database with chain state, providing developers with a more flexible/extensible alternative to the raw steemd API.

I'm using docker-compose for this project because of its flexibility in managing multiple containers, and to minimize the use of long complicated docker cli commands. With dependency checks in the scripts, I covered many possibilities to make a hivemind deployment easy. The tricky and frustrating part was to get postgres to use a mapped local database outside of docker volumes. The reason for that is to have better control of the database and to simplify  redeployment to other servers, instead of having to redownload/reimport a dump which takes hours. Postgres is picky about permissions, plus its native command `initdb` was causing errors when synchronizing an imported hivemind dump. After solving the problems with some workarounds and thoroughly testing, hivemind-docker was finally ready.

---
### <center>An elephant and a whale can be friends</center>
<center>https://info.crunchydata.com/hubfs/DockerNPostgresLogos.png</center>

---

## Features
- High flexibility with simple commands
- Local storage of the database for easier redeployment in an infrastructure
- Cli commands to control the containers

## Requirements
- Docker Engine 18.06.0+
- PostgreSQL 10+
- 2.5GB of memory for hivemind synch process
- 250GB storage for the database

## Git Installation
```
git clone https://github.com/Jolly-Pirate/hivemind-docker.git
cd hivemind-docker
chmod +x run.sh
```

## Preparation
Do the following steps sequentially:

1. Create a .env file from the example and secure it\
`cp .env.example .env`
`chmod 700 .env`
2. Carefully edit all the variables in the .env file and save it\
`nano .env`
3. Preinstall tools and NTP synchronization\
`./run.sh preinstall`
4. Install docker and docker-compose\
`./run.sh installdocker`
5. Build the needed containers\
`./run.sh build`


## Running Postgres
Hivemind requires a postgres backend. Start postgres with these two commands consecutively:

`./run.sh initdb` (will initialize a fresh database cluster)\
`./run.sh start postgres` (will start postgres using the credentials from .env)

## Importing database dump
For an efficient way to get hivemind going with a short DB synchronization, download a database dump (from a daily postgres snapshot), and import it. The dump was done with PostgreSQL 10.8. ETA depends on your internet speed, storage and CPU.

NOTE: The download and import will run in screen sessions and automatically exit when complete. After the dump file is fully read, the import may seem stalled, but it's actually creating the indexes. Do not stop the process with `ctrl-c` or close the session . You can detach from the session with `ctrl-a-d`.

`./run.sh importdb`

**ETA ~3h**

## Running Hivemind
After the DB import, start hivemind to synchronize the missing blocks.

`./run.sh start hive`

**ETA ~1h**

## Running Hivemind and Postgres simultaneously
If you didn't do the 3 steps above, hivemind can be ran from scratch, the script will create a new postgres database, then synchronize it with an endpoint RPC server. However be advised that this approach is lenghthy, depending on your machine specs. For this *plug-n-play* solution, run the following command:

`./run.sh start all`

 **ETA few days**

To stop the hivemind and postgres containers

`./run.sh stop all`

If you already imported the database, doing `./run.sh start all` will resume synchronization from the last processed block.

## Testing Hivemind
Once hivemind is fully synchronized, you can test it by querying it on the port you defined in `.env`, for example `HIVEMIND_PORT=8080`:

`./run.sh testhive`

which runs this command:

`curl -s --data '[{"jsonrpc":"2.0", "method":"condenser_api.get_follow_count", "params":{"account":"initminer"}, "id":1}]' http://localhost:8080 | jq -r`

and gives this result:
```
[
  {
    "jsonrpc": "2.0",
    "result": {
      "account": "initminer",
      "following_count": 0,
      "follower_count": 15
    },
    "id": 1
  }
]
```

## Running Jussi
Jussi is an optional reverse proxy, its configuration won't be covered in this guide. You can check it out at https://github.com/steemit/jussi

Edit and place the DEV_config.json file in the hivemind-docker folder, then start it with:

`./run.sh start jussi`

You can test it with

`./run.sh testjussi`

## Checking the logs
At any time, you can check the logs with:

`./run.sh logs`

Press `ctrl-c` to stop following the logs.

## Project command options
The commands for managing the docker project are listed by typing:

`./run.sh`

Here's a summary of the available commands:
```
 preinstall    - preinstall tools and NTP synchronization
 installdocker - install docker and docker-compose
 build         - stop the running containers and (re)build all the images

 initdb        - initialize database cluster (e.g. postgresql database)
 importdb      - download and import the database dump

 start|stop|restart (e.g. start all)
           all - initdb+postgresql+hivemind
      postgres - postgresql container (with initdb dependency)
          hive - hivemind container (with postgresql dependency)
         jussi - jussi reverse proxy
 enter         - enter a container with bash shell; e.g. enter hive
 logs          - live logs of the running containers
 status        - check the containers status

 testhive      - test a hive API call to hivemind
 testjussi     - test a steemd API call to jussi

 dbsize        - check the database size
 dbactivity    - check the database activity
```

## Proof of work done
Github account: https://github.com/Jolly-Pirate

### Acknowledgment
Thanks to @emrebeyler. His guide on setting up hivemind was an inspiration for this project.
- https://steemit.com/hivemind/@emrebeyler/steps-to-restore-a-hivemind-database-snapshot
- https://steemit.com/hivemind/@emrebeyler/update-to-daily-hivemind-snapshots

Also, thanks for providing the community with a daily hivemind database snapshot.

<center><sub>Posted via https://www.palnet.io</sub>
[![](https://cdn.steemitimages.com/DQma2sXTD5C79ByLLUddrjzyztXK2xCbzz2xPo4FtZfVpxP/plcoin-onblack_gif.gif)](https://www.palnet.io)</center>

***
<center>
#### Available & Reliable. I am your Witness. I want to represent You.
##### &#x1F5F3; If you like what I do, consider voting for me &#x1F5F3;
[![Vote](https://steemitimages.com/DQmfRx7jNSrFAnRZPrKRHLDxR22gRFYTBnKr2uLNdVty3MG/drakos-witness-thanks.gif)](https://steemit.com/~witnesses)
###### Check my guide about [Voting for Witnesses](https://steemit.com/witness-category/@drakos/tips-and-guidelines-voting-for-witnesses).
###### Go to https://steemit.com/~witnesses. Next to my name, click the https://steemitimages.com/DQmYq3yGqzvbK4JQFudeXoDp6PEtdny8vSvX5swqW5sA2fE/chevron-up.png once.
###### Alternatively you can use SteemConnect to [vote for me](https://app.steemconnect.com/sign/account-witness-vote?witness=drakos&approve=1) or [set me as proxy](https://app.steemconnect.com/sign/account-witness-proxy?proxy=drakos&approve=1)
</center>
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 315 others
properties (23)
authordrakos
permlinkhivemind-easy-deployment-with-hivemind-docker
categoryutopian-io
json_metadata{"tags":["utopian-io","development","docker","hivemind","palnet"],"users":["emrebeyler"],"image":["https://cdn.steemitimages.com/DQmZvBkuJePehh9pphd9JyH1VjvyoKv5Hjswd7o7JnwgRHF/Hivemind%20Live.jpg","https://info.crunchydata.com/hubfs/DockerNPostgresLogos.png","https://cdn.steemitimages.com/DQma2sXTD5C79ByLLUddrjzyztXK2xCbzz2xPo4FtZfVpxP/plcoin-onblack_gif.gif","https://steemitimages.com/DQmfRx7jNSrFAnRZPrKRHLDxR22gRFYTBnKr2uLNdVty3MG/drakos-witness-thanks.gif","https://steemitimages.com/DQmYq3yGqzvbK4JQFudeXoDp6PEtdny8vSvX5swqW5sA2fE/chevron-up.png"],"links":["https://github.com/Jolly-Pirate/hivemind-docker","https://github.com/steemit/hivemind","https://github.com/steemit/jussi","https://github.com/Jolly-Pirate","https://steemit.com/hivemind/@emrebeyler/steps-to-restore-a-hivemind-database-snapshot","https://steemit.com/hivemind/@emrebeyler/update-to-daily-hivemind-snapshots","https://www.palnet.io","https://steemit.com/~witnesses","https://steemit.com/witness-category/@drakos/tips-and-guidelines-voting-for-witnesses","https://app.steemconnect.com/sign/account-witness-vote?witness=drakos&approve=1","https://app.steemconnect.com/sign/account-witness-proxy?proxy=drakos&approve=1"],"app":"steemit/0.1","format":"markdown"}
created2019-06-16 17:58:00
last_update2019-07-23 12:51:00
depth0
children35
last_payout2019-06-23 17:58:00
cashout_time1969-12-31 23:59:59
total_payout_value126.216 HBD
curator_payout_value35.247 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length7,529
author_reputation112,280,226,665,329
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,733,720
net_rshares287,694,173,098,429
author_curate_reward""
vote details (379)
@ahmadzareen ·
I covered many possibilities to make a hivemind deployment easy.
πŸ‘Ž  
properties (23)
authorahmadzareen
permlinkpt8c4a
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2019-06-17 06:17:00
last_update2019-06-17 06:17:00
depth1
children0
last_payout2019-06-24 06:17:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length64
author_reputation-45,905,883,468
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,763,027
net_rshares-160,431,241,455
author_curate_reward""
vote details (1)
@apshamilton ·
$0.24
Thanks for making this easier. I tried running Hivemind before but had all sorts of problems with Postgres and permissions.
πŸ‘  , ,
properties (23)
authorapshamilton
permlinkre-drakos-hivemind-easy-deployment-with-hivemind-docker-20190616t183518176z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steempeak/1.11.1"}
created2019-06-16 18:35:18
last_update2019-06-16 18:35:18
depth1
children6
last_payout2019-06-23 18:35:18
cashout_time1969-12-31 23:59:59
total_payout_value0.179 HBD
curator_payout_value0.057 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length123
author_reputation212,408,658,018,768
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,734,851
net_rshares411,121,827,028
author_curate_reward""
vote details (3)
@bronevik ·
What problems?

Installing postgres from scratch is like 2 config edits and 2 sql queries.
πŸ‘  
πŸ‘Ž  
properties (23)
authorbronevik
permlinkre-apshamilton-re-drakos-hivemind-easy-deployment-with-hivemind-docker-20190616t190156782z
categoryutopian-io
json_metadata{"community":"busy","app":"busy/2.5.6","format":"markdown","tags":["utopian-io"],"users":[],"links":[],"image":[]}
created2019-06-16 19:01:57
last_update2019-06-16 19:01:57
depth2
children4
last_payout2019-06-23 19:01:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length90
author_reputation12,260,156,653,305
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,735,703
net_rshares-50,417,324,741
author_curate_reward""
vote details (2)
@apshamilton ·
$0.23
I had issues installing it on a Mac.

Posted using [Partiko iOS](https://partiko.app/referral/apshamilton)
πŸ‘  , , ,
properties (23)
authorapshamilton
permlinkapshamilton-re-bronevik-re-apshamilton-re-drakos-hivemind-easy-deployment-with-hivemind-docker-20190616t190851343z
categoryutopian-io
json_metadata{"app":"partiko","client":"ios"}
created2019-06-16 19:08:51
last_update2019-06-16 19:08:51
depth3
children3
last_payout2019-06-23 19:08:51
cashout_time1969-12-31 23:59:59
total_payout_value0.174 HBD
curator_payout_value0.055 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length106
author_reputation212,408,658,018,768
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,735,934
net_rshares400,250,124,278
author_curate_reward""
vote details (4)
@drakos ·
Glad this will help.
properties (22)
authordrakos
permlinkpt7fqt
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2019-06-16 18:37:42
last_update2019-06-16 18:37:42
depth2
children0
last_payout2019-06-23 18:37:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length20
author_reputation112,280,226,665,329
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,734,933
net_rshares0
@arcange ·
Congratulations @drakos!
Your post was mentioned in the [Steem Hit Parade](/hit-parade/@arcange/daily-hit-parade-20190616) in the following category:

* Pending payout - Ranked 3 with $ 166,55
properties (22)
authorarcange
permlinkre-hivemind-easy-deployment-with-hivemind-docker-20190616t181006000z
categoryutopian-io
json_metadata""
created2019-06-17 16:10:45
last_update2019-06-17 16:10:45
depth1
children0
last_payout2019-06-24 16:10:45
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length193
author_reputation1,146,621,535,585,811
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,793,751
net_rshares0
@barbara-orenya ·
$0.04
Je ne vais pas prΓ©tendre avoir compris le moindre mot πŸ˜„ ..mais aprΓ¨s tout, cela n'a pas d'importance que moi je ne comprenne pas πŸ˜‰
πŸ‘  ,
properties (23)
authorbarbara-orenya
permlinkre-drakos-2019616t231547296z
categoryutopian-io
json_metadata{"tags":["utopian-io","development","docker","hivemind","palnet"],"app":"esteem/2.1.0-surfer","format":"markdown+html","community":"esteem.app"}
created2019-06-16 21:15:48
last_update2019-06-16 21:15:48
depth1
children1
last_payout2019-06-23 21:15:48
cashout_time1969-12-31 23:59:59
total_payout_value0.030 HBD
curator_payout_value0.011 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length130
author_reputation357,419,086,795,286
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries
0.
accountesteemapp
weight1,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,739,779
net_rshares79,370,449,295
author_curate_reward""
vote details (2)
@drakos ·
It's for the nerds lol
properties (22)
authordrakos
permlinkptct1a
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2019-06-19 16:12:48
last_update2019-06-19 16:12:48
depth2
children0
last_payout2019-06-26 16:12:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length22
author_reputation112,280,226,665,329
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,920,339
net_rshares0
@bronevik ·
Docker is great but it's still STONGLY advised to configure separate Postgres instance outside Docker for any production environment.
πŸ‘  ,
πŸ‘Ž  
properties (23)
authorbronevik
permlinkre-drakos-hivemind-easy-deployment-with-hivemind-docker-20190616t190401990z
categoryutopian-io
json_metadata{"community":"busy","app":"busy/2.5.6","format":"markdown","tags":["utopian-io"],"users":[],"links":[],"image":[]}
created2019-06-16 19:04:03
last_update2019-06-16 19:04:03
depth1
children0
last_payout2019-06-23 19:04:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length133
author_reputation12,260,156,653,305
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,735,772
net_rshares-14,503,508,443
author_curate_reward""
vote details (3)
@chekohler ·
$0.19
Well done, I read up about this a few months ago and people talking about the new possibilities hivemind will bring. It's so exciting to see it finally happening and all the other projects around scot. This place has really started to come together! When I see updates like this it really renews my faith in the project and the community 
πŸ‘  
properties (23)
authorchekohler
permlinkre-drakos-hivemind-easy-deployment-with-hivemind-docker-20190616t182650858z
categoryutopian-io
json_metadata{"community":"busy","app":"busy/2.5.6","format":"markdown","tags":["utopian-io"],"users":[],"links":[],"image":[]}
created2019-06-16 18:26:51
last_update2019-06-16 18:26:51
depth1
children0
last_payout2019-06-23 18:26:51
cashout_time1969-12-31 23:59:59
total_payout_value0.145 HBD
curator_payout_value0.048 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length338
author_reputation524,332,427,393,665
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,734,620
net_rshares333,434,412,783
author_curate_reward""
vote details (1)
@foxkoit ·
I must go look more in this ... this sounds good :)
properties (22)
authorfoxkoit
permlinkpt8bje
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2019-06-17 06:04:27
last_update2019-06-17 06:04:27
depth1
children0
last_payout2019-06-24 06:04:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length51
author_reputation536,016,076,494,196
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,762,571
net_rshares0
@furion ·
$0.76
Have you considered running hivemind as a service, similar to SteemSQL?
πŸ‘  
properties (23)
authorfurion
permlinkpt943k
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2019-06-17 16:21:21
last_update2019-06-17 16:21:21
depth1
children1
last_payout2019-06-24 16:21:21
cashout_time1969-12-31 23:59:59
total_payout_value0.748 HBD
curator_payout_value0.007 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length71
author_reputation116,503,940,714,958
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,794,169
net_rshares1,703,805,335,720
author_curate_reward""
vote details (1)
@drakos · (edited)
$0.02
I'm considering it, and anyone could, since it's relatively easy to set up (thanks to hivemind-docker) and not very resource hungry. But unlike SteemSQL, hive is limited to the social transactions, like comments, posts, votes.
πŸ‘  ,
properties (23)
authordrakos
permlinkpt94rb
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2019-06-17 16:35:36
last_update2019-06-17 16:37:09
depth2
children0
last_payout2019-06-24 16:35:36
cashout_time1969-12-31 23:59:59
total_payout_value0.018 HBD
curator_payout_value0.005 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length226
author_reputation112,280,226,665,329
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,794,899
net_rshares43,808,948,148
author_curate_reward""
vote details (2)
@improv ·
Scuttlebutt has it that you oppose EIP. That true? I'm looking for witnesses to vote for who will keep EIP out of HF21.
properties (22)
authorimprov
permlinkptslrq
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2019-06-28 04:57:27
last_update2019-06-28 04:57:27
depth1
children1
last_payout2019-07-05 04:57:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length119
author_reputation228,180,543,885,505
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id87,444,039
net_rshares0
@drakos ·
$0.02
It is true.
πŸ‘  , ,
properties (23)
authordrakos
permlinkpttnw5
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2019-06-28 18:40:54
last_update2019-06-28 18:40:54
depth2
children0
last_payout2019-07-05 18:40:54
cashout_time1969-12-31 23:59:59
total_payout_value0.018 HBD
curator_payout_value0.005 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length11
author_reputation112,280,226,665,329
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id87,478,138
net_rshares50,421,561,270
author_curate_reward""
vote details (3)
@jasonbu ·
$0.02
Oh, man... thanks @drakos.  Was just talking about this and how it would be great if this was available!!  And boom! There it is.  Thanks for putting this together.
πŸ‘  , ,
properties (23)
authorjasonbu
permlinkptcosc
categoryutopian-io
json_metadata{"tags":["utopian-io"],"users":["drakos"],"app":"steemit/0.1"}
created2019-06-19 14:41:00
last_update2019-06-19 14:41:00
depth1
children1
last_payout2019-06-26 14:41:00
cashout_time1969-12-31 23:59:59
total_payout_value0.018 HBD
curator_payout_value0.005 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length164
author_reputation26,685,474,279,235
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,916,355
net_rshares43,514,247,942
author_curate_reward""
vote details (3)
@drakos ·
Your wish became true. Can you wish me to win the lottery? πŸ˜€
properties (22)
authordrakos
permlinkptct3o
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2019-06-19 16:14:15
last_update2019-06-19 16:14:15
depth2
children0
last_payout2019-06-26 16:14:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length60
author_reputation112,280,226,665,329
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,920,418
net_rshares0
@justyy ·
$14.68
Thank you very much for your contribution! I especially like your quote "An elephant and a whale can be friends" - LOL

1. It might be useful to have a wizard during installation so that we can answer questions and be prepared.
2. Can the risks of  exposing Postgre password e.g. $POSTGRES_PASSWORD   in the environment variable be mitigated?
3. I supsect that these scripts require sudo permissions anyway, so probably you don't need to manually add sudo before some of the commands.

+1 great work for using Docker (containerisation) !

Your contribution has been evaluated according to [Utopian policies and guidelines](https://join.utopian.io/guidelines), as well as a predefined set of questions pertaining to the category.

To view those questions and the relevant answers related to your post, [click here](https://review.utopian.io/result/3/1-2-1-1-1-2-1-).

---- 
Need help? Chat with us on [Discord](https://discord.gg/uTyJkNm).

[[utopian-moderator]](https://join.utopian.io/)
πŸ‘  , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorjustyy
permlinkpt7gr1
categoryutopian-io
json_metadata{"tags":["utopian-io"],"links":["https://join.utopian.io/guidelines","https://review.utopian.io/result/3/1-2-1-1-1-2-1-","https://discord.gg/uTyJkNm","https://join.utopian.io/"],"app":"steemit/0.1"}
created2019-06-16 18:59:27
last_update2019-06-16 18:59:27
depth1
children2
last_payout2019-06-23 18:59:27
cashout_time1969-12-31 23:59:59
total_payout_value11.142 HBD
curator_payout_value3.536 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length987
author_reputation280,616,224,641,976
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,735,626
net_rshares25,418,099,476,007
author_curate_reward""
vote details (25)
@drakos ·
1. Maybe in a future update.
2. You can `chmod 700 .env` for added security (I'll add that to the readme). I implemented a $POSTGRES_PASSWORD variable to avoid being prompted for the password every time you want to query the database.
3. sudo has a timeout of 15min, so it's good to have it where needed, especially in the entrypoint.sh script, which addresses the postgres permission problems when trying to make it work in docker.
properties (22)
authordrakos
permlinkpt7hsf
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2019-06-16 19:21:51
last_update2019-06-16 19:21:51
depth2
children0
last_payout2019-06-23 19:21:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length432
author_reputation112,280,226,665,329
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,736,279
net_rshares0
@utopian-io ·
Thank you for your review, @justyy! Keep up the good work!
properties (22)
authorutopian-io
permlinkre-pt7gr1-20190618t210533z
categoryutopian-io
json_metadata"{"app": "beem/0.20.17"}"
created2019-06-18 21:05:36
last_update2019-06-18 21:05:36
depth2
children0
last_payout2019-06-25 21:05:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length58
author_reputation152,955,367,999,756
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,871,554
net_rshares0
@mahdiyari ·
Good job ;)
properties (22)
authormahdiyari
permlinkpt7l27
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2019-06-16 20:32:33
last_update2019-06-16 20:32:33
depth1
children1
last_payout2019-06-23 20:32:33
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length11
author_reputation199,858,416,089,067
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,738,399
net_rshares0
@adityajainxds ·
@mahdiyari Can I ask you something . Are you interested in small steemit project , this will improve your witness position for sure.without any investment , but definitely you will be benefited with this project as it will highlight you in steemit. You can find me on discord adityajainxds#3203. Just listen to the project if you like you can join else no problem.i can explain you here also in the comment. Thanks have a nice day.
properties (22)
authoradityajainxds
permlinkptlvhb
categoryutopian-io
json_metadata{"tags":["utopian-io"],"users":["mahdiyari"],"app":"steemit/0.1"}
created2019-06-24 13:45:42
last_update2019-06-24 13:45:42
depth2
children0
last_payout2019-07-01 13:45:42
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length431
author_reputation164,406,716,121,482
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id87,211,497
net_rshares0
@oadissin ·
Thank you for informing the community about the progress on this important project.
Peace
properties (22)
authoroadissin
permlinkre-drakos-2019617t193047875z
categoryutopian-io
json_metadata{"tags":["utopian-io","development","docker","hivemind","palnet"],"app":"esteem/2.0.0-mobile","format":"markdown+html","community":"esteem.app"}
created2019-06-17 10:30:36
last_update2019-06-17 10:30:36
depth1
children0
last_payout2019-06-24 10:30:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length89
author_reputation460,170,578,714,338
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries
0.
accountesteemapp
weight1,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,774,541
net_rshares0
@pibara ·
Hmm, thinking if I upgraded my 2GB QNAP to 4GB, I might be able to run a tiny setup good enough to revive the daily flagwar visualization that I used to run from @pibarabot untill Steemit's rate limiting killed it. What do you think? Could this run on a 4G QNAP? And if it would, does it give access to the weighted per post vote history needed for my specific purpose?
properties (22)
authorpibara
permlinkpt7q3d
categoryutopian-io
json_metadata{"tags":["utopian-io"],"users":["pibarabot"],"app":"steemit/0.1"}
created2019-06-16 22:21:15
last_update2019-06-16 22:21:15
depth1
children0
last_payout2019-06-23 22:21:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length369
author_reputation60,469,629,952,622
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,742,031
net_rshares0
@prameshtyagi ·
so do we see communities coming to life now??
properties (22)
authorprameshtyagi
permlinkpt96ac
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2019-06-17 17:08:30
last_update2019-06-17 17:08:30
depth1
children2
last_payout2019-06-24 17:08:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length45
author_reputation133,698,299,152,872
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,796,581
net_rshares0
@fuadsm ·
$0.12
What does "communities" mean in Steem?
πŸ‘  ,
properties (23)
authorfuadsm
permlinkre-prameshtyagi-pt96ac-20190618t041808767z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steempeak/1.12.2"}
created2019-06-18 04:18:48
last_update2019-06-18 04:18:48
depth2
children1
last_payout2019-06-25 04:18:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.117 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length38
author_reputation2,991,648,891,055
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries
0.
accountfsm-liquid
weight10,000
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,823,067
net_rshares801,888,475,838
author_curate_reward""
vote details (2)
@treeplanter ·
Thanks for your donation
<center>
<h3>You just planted 0.10 tree(s)!</h3>
Thanks to @ucukertz
<h3>We have planted already 
8112.62 trees
out of 1,000,000<h3>
Let\'s save and restore Abongphen Highland Forest
in Cameroonian village Kedjom-Keku!
Plant trees with @treeplanter and get paid for it!
My Steem Power = 21540.42
Thanks a lot!
@martin.mikes coordinator of @kedjom-keku
![treeplantermessage_ok.png](https://steemitimages.com/DQmdeFhTevmcmLvubxMMDoYBoNSaz4ftt7PxktmLDmF2WGg/treeplantermessage_ok.png)
</center>
πŸ‘  
properties (23)
authortreeplanter
permlinkre-fuadsm-re-prameshtyagi-pt96ac-20190621t231317545z
categoryutopian-io
json_metadata{}
created2019-06-21 23:13:18
last_update2019-06-21 23:13:18
depth3
children0
last_payout2019-06-28 23:13:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length491
author_reputation62,929,728,687,402
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id87,068,346
net_rshares7,531,231,137
author_curate_reward""
vote details (1)
@steem-ua ·
#### Hi @drakos!

Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
**Feel free to join our [@steem-ua Discord server](https://discord.gg/KpBNYGz)**
properties (22)
authorsteem-ua
permlinkre-hivemind-easy-deployment-with-hivemind-docker-20190616t190111z
categoryutopian-io
json_metadata"{"app": "beem/0.20.19"}"
created2019-06-16 19:01:12
last_update2019-06-16 19:01:12
depth1
children0
last_payout2019-06-23 19:01:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length285
author_reputation23,214,230,978,060
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,735,667
net_rshares0
@sweettais ·
Great! Thank  you for  your work!
properties (22)
authorsweettais
permlinkre-drakos-hivemind-easy-deployment-with-hivemind-docker-20190618t040821292z
categoryutopian-io
json_metadata{"tags":["utopian-io","palnet"],"app":"palnet/0.1"}
created2019-06-18 04:08:24
last_update2019-06-18 04:08:24
depth1
children0
last_payout2019-06-25 04:08:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length33
author_reputation319,652,806,173,394
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,822,641
net_rshares0
@teamhumble ·
wow, awesome. thanks for doing this!
πŸ‘  
properties (23)
authorteamhumble
permlinkpt7fj8
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2019-06-16 18:33:09
last_update2019-06-16 18:33:09
depth1
children0
last_payout2019-06-23 18:33:09
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length36
author_reputation315,232,864,758,316
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,734,799
net_rshares539,573,686
author_curate_reward""
vote details (1)
@utopian-io ·
Hey, @drakos!

**Thanks for contributing on Utopian**.
We’re already looking forward to your next contribution!

**Get higher incentives and support Utopian.io!**
 Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via [SteemPlus](https://chrome.google.com/webstore/detail/steemplus/mjbkjgcplmaneajhcbegoffkedeankaj?hl=en) or [Steeditor](https://steeditor.app)).

**Want to chat? Join us on Discord https://discord.gg/h52nFrV.**

<a href='https://steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1'>Vote for Utopian Witness!</a>
properties (22)
authorutopian-io
permlinkre-hivemind-easy-deployment-with-hivemind-docker-20190616t193525z
categoryutopian-io
json_metadata"{"app": "beem/0.20.17"}"
created2019-06-16 19:35:27
last_update2019-06-16 19:35:27
depth1
children0
last_payout2019-06-23 19:35:27
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length588
author_reputation152,955,367,999,756
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,736,690
net_rshares0
@yanes94 ·
Hey Pirata! It's incredible to have you back!
;)
properties (22)
authoryanes94
permlinkptaqt4
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2019-06-18 13:29:48
last_update2019-06-18 13:29:48
depth1
children0
last_payout2019-06-25 13:29:48
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length48
author_reputation613,600,416,962,826
root_title"Hivemind Easy Deployment With hivemind-docker"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id86,847,683
net_rshares0