use port 90 for dashboard as 81 turned out to be unsafe for me

This commit is contained in:
KemoNine 2024-04-26 14:24:30 -04:00
parent e57ffed9bc
commit 74446cc5e3
4 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@ VOLUME /opt/monit
EXPOSE 2812/tcp EXPOSE 2812/tcp
# Dashboard # Dashboard
EXPOSE 81 EXPOSE 90
# Run s6-overlay as the init so we get services and similar # Run s6-overlay as the init so we get services and similar
ENTRYPOINT [ "/init" ] ENTRYPOINT [ "/init" ]

View file

@ -245,7 +245,7 @@ server.username = "www-data"
server.groupname = "www-data" server.groupname = "www-data"
server.document-root = "/opt/dashboard/www" server.document-root = "/opt/dashboard/www"
server.port = 81 server.port = 90
server.errorlog = "/dev/stdout" server.errorlog = "/dev/stdout"
accesslog.filename = "/dev/stdout" accesslog.filename = "/dev/stdout"

2
run.sh
View file

@ -24,7 +24,7 @@ sudo docker run -itd \
-e CONFIG_MONIT_PASS=$CONFIG_MONIT_PASS \ -e CONFIG_MONIT_PASS=$CONFIG_MONIT_PASS \
-p 2812:2812/tcp \ -p 2812:2812/tcp \
-p 2813:2813/tcp \ -p 2813:2813/tcp \
-p 81:81/tcp \ -p 90:90/tcp \
-l diun.enable=true \ -l diun.enable=true \
-l traefik.enable=false \ -l traefik.enable=false \
-v /var/containerized-monitoring/monit:/opt/monit \ -v /var/containerized-monitoring/monit:/opt/monit \

View file

@ -24,7 +24,7 @@ sudo docker run -itd \
-e CONFIG_MONIT_PASS=$CONFIG_MONIT_PASS \ -e CONFIG_MONIT_PASS=$CONFIG_MONIT_PASS \
-p 2812:2812/tcp \ -p 2812:2812/tcp \
-p 2813:2813/tcp \ -p 2813:2813/tcp \
-p 81:81/tcp \ -p 90:90/tcp \
-l diun.enable=true \ -l diun.enable=true \
-l traefik.enable=false \ -l traefik.enable=false \
--mount type=tmpfs,destination=/opt/munin/www \ --mount type=tmpfs,destination=/opt/munin/www \