Skip to content

Commit 4fe26ec

Browse files
committed
Expose ports for host network mode support
1 parent a72811e commit 4fe26ec

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

Dockerfile

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,11 @@ ADD knexfile.js /app/knexfile.js
2929
VOLUME [ "/data", "/etc/letsencrypt" ]
3030
CMD [ "/init" ]
3131

32+
# Ports
33+
EXPOSE 80
34+
EXPOSE 81
35+
EXPOSE 443
36+
EXPOSE 9876
37+
3238
HEALTHCHECK --interval=15s --timeout=3s CMD curl -f http://localhost:9876/health || exit 1
39+

Dockerfile.armhf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,10 @@ ADD knexfile.js /app/knexfile.js
2929
VOLUME [ "/data", "/etc/letsencrypt" ]
3030
CMD [ "/init" ]
3131

32+
# Ports
33+
EXPOSE 80
34+
EXPOSE 81
35+
EXPOSE 443
36+
EXPOSE 9876
37+
3238
HEALTHCHECK --interval=15s --timeout=3s CMD curl -f http://localhost:9876/health || exit 1

0 commit comments

Comments
 (0)