flip port to 81 for http dashboard to stay out of way of 'production' web services
This commit is contained in:
parent
ebfd957cdb
commit
e57ffed9bc
|
@ -9,7 +9,7 @@ VOLUME /opt/monit
|
||||||
EXPOSE 2812/tcp
|
EXPOSE 2812/tcp
|
||||||
|
|
||||||
# Dashboard
|
# Dashboard
|
||||||
EXPOSE 80
|
EXPOSE 81
|
||||||
|
|
||||||
# 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" ]
|
||||||
|
|
|
@ -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 = 80
|
server.port = 81
|
||||||
|
|
||||||
server.errorlog = "/dev/stdout"
|
server.errorlog = "/dev/stdout"
|
||||||
accesslog.filename = "/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 \
|
-e CONFIG_MONIT_PASS=$CONFIG_MONIT_PASS \
|
||||||
-p 2812:2812/tcp \
|
-p 2812:2812/tcp \
|
||||||
-p 2813:2813/tcp \
|
-p 2813:2813/tcp \
|
||||||
-p 80:80/tcp \
|
-p 81:81/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 \
|
||||||
|
|
2
test.sh
2
test.sh
|
@ -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 80:80/tcp \
|
-p 81:81/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 \
|
||||||
|
|
Loading…
Reference in a new issue