From 4fe26ec4c04a61e3cfbf6802ce4fac02fcd85f2d Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Wed, 5 Sep 2018 10:03:43 +1000 Subject: [PATCH] Expose ports for host network mode support --- Dockerfile | 7 +++++++ Dockerfile.armhf | 6 ++++++ 2 files changed, 13 insertions(+) diff --git a/Dockerfile b/Dockerfile index 4a5b2e80..a3f45064 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,4 +29,11 @@ ADD knexfile.js /app/knexfile.js VOLUME [ "/data", "/etc/letsencrypt" ] CMD [ "/init" ] +# Ports +EXPOSE 80 +EXPOSE 81 +EXPOSE 443 +EXPOSE 9876 + HEALTHCHECK --interval=15s --timeout=3s CMD curl -f http://localhost:9876/health || exit 1 + diff --git a/Dockerfile.armhf b/Dockerfile.armhf index 537b6d40..af6b82a1 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -29,4 +29,10 @@ ADD knexfile.js /app/knexfile.js VOLUME [ "/data", "/etc/letsencrypt" ] CMD [ "/init" ] +# Ports +EXPOSE 80 +EXPOSE 81 +EXPOSE 443 +EXPOSE 9876 + HEALTHCHECK --interval=15s --timeout=3s CMD curl -f http://localhost:9876/health || exit 1