Do you think that it's possible to don't use yours and replace it by my reverse proxy ?
HI, If you meant that one use a niginx which is installed on a host instead of a dockerized nginx which is dedicated for NodeBB, then it's totally possible, yes
I just put some ideas and matters
One can remove a dockerized nginx easily by just a modifying(removing) of nginx part from docker-compose.yml. Really, that's just it. ( This is a full chain, but if one doesn't need/want a full chain then.. )
One can use a dockerized nginx as a prime web server instead a host installed web server and can serve subomains or what ever with other docker or directory
Actually this doesn't happen yet, but nginx can serve static files for NodeBB efficiently and you know, nginx is extremely small. So I'd rather proxy from a host installed nginx to the nodebb dedicated nginx docker ( In this case one needs to change a line 80:80 with 8080:80 or <any port>:80 in docker-compose.yml )
But, if anybody wants to get an easier way and less steps, then your idea will be also a good option.
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 <firstname.lastname@example.org>
# 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.