add expose to docker images

This commit is contained in:
Willy Kloucek
2021-01-20 16:32:47 +01:00
committed by Phil Davis
parent 27d1783587
commit 1a18a496b9
4 changed files with 13 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
Change: Add "expose" information to docker images
Tags: docker
Add "expose" information to docker images. Docker users will now see that we offer services on port 9200.
https://github.com/owncloud/ocis/pull/1366

View File

@@ -11,6 +11,8 @@ LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
org.label-schema.vendor="ownCloud GmbH" \
org.label-schema.schema-version="1.0"
EXPOSE 9200/tcp
ENTRYPOINT ["/usr/bin/ocis"]
CMD ["server"]

View File

@@ -11,6 +11,8 @@ LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
org.label-schema.vendor="ownCloud GmbH" \
org.label-schema.schema-version="1.0"
EXPOSE 9200/tcp
ENTRYPOINT ["/usr/bin/ocis"]
CMD ["server"]

View File

@@ -11,6 +11,8 @@ LABEL maintainer="ownCloud GmbH <devops@owncloud.com>" \
org.label-schema.vendor="ownCloud GmbH" \
org.label-schema.schema-version="1.0"
EXPOSE 9200/tcp
ENTRYPOINT ["/usr/bin/ocis"]
CMD ["server"]