diff options
| author | luccioman <luccioman@users.noreply.github.com> | 2016-08-05 11:57:38 +0200 |
|---|---|---|
| committer | luccioman <luccioman@users.noreply.github.com> | 2016-08-05 11:57:38 +0200 |
| commit | 16dfc49bfd84a44ae4ba3749607e9ac6f3bb7507 (patch) | |
| tree | cff3303c87624fd7c7f484cfe6c404b9363e853e /docker/Dockerfile | |
| parent | 6811158e1a4b577e7e9fc21837c0b4f87f240439 (diff) | |
Enabled HTTPS as default, and added HTPS related documentation
Diffstat (limited to 'docker/Dockerfile')
| -rw-r--r-- | docker/Dockerfile | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile index a090c75e8..401d1f1d0 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -18,6 +18,10 @@ WORKDIR /opt # - Compile with ant # - remove unnecessary and size consuming .git directory # - remove ant and git packages + +# Possible alternative : copy directly your current sources an remove git clone command from the following RUN +# COPY . /opt/yacy_search_server/ + RUN apt-get update && \ apt-get install -yq ant git && \ git clone https://github.com/yacy/yacy_search_server.git && \ @@ -30,6 +34,9 @@ RUN apt-get update && \ # Set initial admin password : "docker" (encoded with custom yacy md5 function net.yacy.cora.order.Digest.encodeMD5Hex()) RUN sed -i "/adminAccountBase64MD5=/c\adminAccountBase64MD5=MD5:e672161ffdce91be4678605f4f4e6786" /opt/yacy_search_server/defaults/yacy.init +# Intially enable HTTPS : this is the most secure option for remote administrator authentication +RUN sed -i "/server.https=false/c\server.https=true" /opt/yacy_search_server/defaults/yacy.init + # Create user and group yacy : this user will be used to run YaCy main process RUN adduser --system --group --no-create-home --disabled-password yacy |
