Added default exposure of non-encrypted http port.

This commit is contained in:
Daan Selen
2025-05-19 12:14:46 +02:00
parent 5223cbd619
commit 5d18a1ad71
2 changed files with 23 additions and 2 deletions

View File

@@ -165,8 +165,8 @@ COPY --from=builder /opt/meshcentral/meshcentral /opt/meshcentral/meshcentral
# install dependencies from package.json
RUN cd meshcentral && npm install
# Expose only 443 by default to reduce attack surface. (Only encrypted ports).
EXPOSE 443
# Expose needed ports
EXPOSE 80 443
# These volumes will be created by default even without any declaration, this allows default persistence in Docker/Podman.