flip port to 81 for http dashboard to stay out of way of 'production' web services

This commit is contained in:
KemoNine 2024-04-26 14:20:48 -04:00
parent ebfd957cdb
commit e57ffed9bc
4 changed files with 4 additions and 4 deletions

View file

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

View file

@ -245,7 +245,7 @@ server.username = "www-data"
server.groupname = "www-data"
server.document-root = "/opt/dashboard/www"
server.port = 80
server.port = 81
server.errorlog = "/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 \
-p 2812:2812/tcp \
-p 2813:2813/tcp \
-p 80:80/tcp \
-p 81:81/tcp \
-l diun.enable=true \
-l traefik.enable=false \
-v /var/containerized-monitoring/monit:/opt/monit \

View file

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