From 2995bb226e97e3a7dd42cc7ba4806df77fec159b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20N=C3=B6thlich?= Date: Wed, 6 May 2020 21:58:10 +0200 Subject: [PATCH] Fix default config to not only serve to localhost MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Adrian Nöthlich --- Dockerfile | 2 ++ README.md | 1 - cryptpad | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 61f3b3f..aaabb77 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,8 @@ WORKDIR /cryptpad # Get cryptpad from repository submodule COPY cryptpad /cryptpad +RUN sed -i "s/\/\/httpAddress: \x27::\x27/httpAddress: \x270.0.0.0\x27/" /cryptpad/config/config.example.js + # Install dependencies RUN npm install --production \ && npm install -g bower \ diff --git a/README.md b/README.md index 36a4c6c..db600ba 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,6 @@ Please see the [migration guide](MIGRATION.md) for further information on switch * Mounted files and folders have to be owned by userid 4001. It is possible you have to run `sudo chown -R 4001:4001 filename` - ### Dockerfile * Run: `docker run -d -p 3000:3000 -p 3001:3001 promasu/cryptpad` diff --git a/cryptpad b/cryptpad index 9f1f01f..ab7c31c 160000 --- a/cryptpad +++ b/cryptpad @@ -1 +1 @@ -Subproject commit 9f1f01f3b4ce3e576dbf3101e2f57a29b6798ee7 +Subproject commit ab7c31c681518427abf17209fb35d841c0ae2100