mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-25 21:53:14 -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 -rf lzma1604
|
||||
|
||||
RUN apt-get install -y mongodb
|
||||
|
||||
RUN adduser --quiet meshserver \
|
||||
&& chmod +x /startmeshcentral.sh \
|
||||
&& su - meshserver \
|
||||
@ -20,6 +22,6 @@ ENV PORT 443
|
||||
ENV REDIRPORT 80
|
||||
ENV MPSPORT 4443
|
||||
|
||||
EXPOSE 25 80 443 4443
|
||||
EXPOSE 25 80 443 4443 27017 27018
|
||||
|
||||
ENTRYPOINT ["/startmeshcentral.sh"]
|
||||
|
@ -3,6 +3,8 @@ export PORT
|
||||
export REDIRPORT
|
||||
export MPSPORT
|
||||
|
||||
service mongod start
|
||||
|
||||
su - meshserver
|
||||
cd /home/meshserver/
|
||||
npm install meshcentral
|
||||
|
Loading…
x
Reference in New Issue
Block a user