diff options
| author | luccioman <luccioman@users.noreply.github.com> | 2016-07-31 19:24:52 +0200 |
|---|---|---|
| committer | luccioman <luccioman@users.noreply.github.com> | 2016-07-31 19:24:52 +0200 |
| commit | 6811158e1a4b577e7e9fc21837c0b4f87f240439 (patch) | |
| tree | 8aa9e48995888627edc96945bd22b293d3d853ed | |
| parent | fcad2d07445b8f7ae45dcefe9a8efaf98fdc0fcf (diff) | |
Expose HTTPS default port on docker images
| -rw-r--r-- | docker/Dockerfile | 4 | ||||
| -rwxr-xr-x | docker/Dockerfile.alpine | 4 | ||||
| -rw-r--r-- | docker/docker-cloud.yml | 1 |
3 files changed, 5 insertions, 4 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index 35102e4d6..a090c75e8 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -36,8 +36,8 @@ RUN adduser --system --group --no-create-home --disabled-password yacy # Set ownership of yacy install directory to yacy user/group RUN chown yacy:yacy -R /opt/yacy_search_server -# Expose port 8090 -EXPOSE 8090 +# Expose HTTP and HTTPS default ports +EXPOSE 8090 8443 # Set data volume : yacy data and configuration will persist aven after container stop or destruction VOLUME ["/opt/yacy_search_server/DATA"] diff --git a/docker/Dockerfile.alpine b/docker/Dockerfile.alpine index 497dd70ed..eb913af31 100755 --- a/docker/Dockerfile.alpine +++ b/docker/Dockerfile.alpine @@ -68,8 +68,8 @@ RUN addgroup yacy && adduser -S -G yacy -H -D yacy # Set ownership of yacy install directory to yacy user/group RUN chown yacy:yacy -R /opt/yacy_search_server -# Expose port 8090 -EXPOSE 8090 +# Expose HTTP and HTTPS default ports +EXPOSE 8090 8443 # Set data volume : yacy data and configuration will persist aven after container stop or destruction VOLUME ["/opt/yacy_search_server/DATA"] diff --git a/docker/docker-cloud.yml b/docker/docker-cloud.yml index 24a09a69b..97e965bd7 100644 --- a/docker/docker-cloud.yml +++ b/docker/docker-cloud.yml @@ -2,5 +2,6 @@ yacy: image: 'luccioman/yacy:latest' ports: - '8090:8090' + - '8443:8443' restart: on-failure autoredeploy: true
\ No newline at end of file |
