Yes I have already checked it. I have found a docker image created by @nopz, this one is up-to-date. But the official docker image in not! Maybe you (nodebb) should give access to a dockerfile to allow anyone to build a nodebb docker image. EDIT I found the dockerfile, and the problem about this outdated version here. It's outdated because the dockerfile build the image with the v0.5.x version :
MAINTAINER NodeBB Docker Team <email@example.com>
# install main packages:
RUN yum -y update ; yum clean all
RUN yum -y install epel-release tar ; yum clean all
RUN yum -y install wget ; yum clean all
RUN yum -y groupinstall "Development Tools"
RUN yum -y install nodejs git ImageMagick npm
RUN yum -y install openssl openssl-devel
# clone nodebb and install it
RUN cd /opt ; git clone -b v0.5.x https://github.com/NodeBB/NodeBB nodebb
RUN cd /opt/nodebb ; npm install
# Create a nodebb volume
# Define a working directory
# Expose ports
CMD [ "node", "app.js" ]
You should (NodeBB) update this dockerfile !
End of the EDIT
Now, with the nopz/nodebb image I just had a problem about plugin persistence. But the first installation is so much easier and automatic with just one docker.
I had back this problem a 2nd time 2 days ago, I don't know if it's related but I was doing iptables FW settings on the VM, I had nodeBB running, and also redis and from my computer desktop redis desktop manager connected to DB.
Then I made a mistake in iptables, blocked all redis port (even local), saying nodebb unable to connect to redis (so as redis desktop manager) then when I openned back 6379 port, all data was gone, not sure if it's related, just an information.
Have NodeBB used "optimistic concurrency locking"?
I think in NodeBB there is 'UPVOTE' concept,
While upvoting there has to be 'Optimistic concurrency locking',
So it can handle multiple database insert operation at a time while upvoting single post by multiple users.
Please let me know where do I find the code for 'Optimistic Concurrency locking',
and guide me how to handle multiple insert operation at a time in redis database.