use port 90 for dashboard as 81 turned out to be unsafe for me
This commit is contained in:
parent
e57ffed9bc
commit
74446cc5e3
|
@ -9,7 +9,7 @@ VOLUME /opt/monit
|
|||
EXPOSE 2812/tcp
|
||||
|
||||
# Dashboard
|
||||
EXPOSE 81
|
||||
EXPOSE 90
|
||||
|
||||
# Run s6-overlay as the init so we get services and similar
|
||||
ENTRYPOINT [ "/init" ]
|
||||
|
|
|
@ -245,7 +245,7 @@ server.username = "www-data"
|
|||
server.groupname = "www-data"
|
||||
|
||||
server.document-root = "/opt/dashboard/www"
|
||||
server.port = 81
|
||||
server.port = 90
|
||||
|
||||
server.errorlog = "/dev/stdout"
|
||||
accesslog.filename = "/dev/stdout"
|
||||
|
|
2
run.sh
2
run.sh
|
@ -24,7 +24,7 @@ sudo docker run -itd \
|
|||
-e CONFIG_MONIT_PASS=$CONFIG_MONIT_PASS \
|
||||
-p 2812:2812/tcp \
|
||||
-p 2813:2813/tcp \
|
||||
-p 81:81/tcp \
|
||||
-p 90:90/tcp \
|
||||
-l diun.enable=true \
|
||||
-l traefik.enable=false \
|
||||
-v /var/containerized-monitoring/monit:/opt/monit \
|
||||
|
|
Loading…
Reference in a new issue