mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-27 06:33:15 -05:00
add mongodb
This commit is contained in:
parent
c31da5c8b5
commit
f15fe8db68
@ -10,6 +10,8 @@ RUN apt-get update \
|
|||||||
&& rm -f lzma1604.7z \
|
&& rm -f lzma1604.7z \
|
||||||
&& rm -rf lzma1604
|
&& rm -rf lzma1604
|
||||||
|
|
||||||
|
RUN apt-get install -y mongodb
|
||||||
|
|
||||||
RUN adduser --quiet meshserver \
|
RUN adduser --quiet meshserver \
|
||||||
&& chmod +x /startmeshcentral.sh \
|
&& chmod +x /startmeshcentral.sh \
|
||||||
&& su - meshserver \
|
&& su - meshserver \
|
||||||
@ -20,6 +22,6 @@ ENV PORT 443
|
|||||||
ENV REDIRPORT 80
|
ENV REDIRPORT 80
|
||||||
ENV MPSPORT 4443
|
ENV MPSPORT 4443
|
||||||
|
|
||||||
EXPOSE 25 80 443 4443
|
EXPOSE 25 80 443 4443 27017 27018
|
||||||
|
|
||||||
ENTRYPOINT ["/startmeshcentral.sh"]
|
ENTRYPOINT ["/startmeshcentral.sh"]
|
||||||
|
@ -3,6 +3,8 @@ export PORT
|
|||||||
export REDIRPORT
|
export REDIRPORT
|
||||||
export MPSPORT
|
export MPSPORT
|
||||||
|
|
||||||
|
service mongod start
|
||||||
|
|
||||||
su - meshserver
|
su - meshserver
|
||||||
cd /home/meshserver/
|
cd /home/meshserver/
|
||||||
npm install meshcentral
|
npm install meshcentral
|
||||||
|
Loading…
x
Reference in New Issue
Block a user