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