Fix default config to not only serve to localhost

Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
Adrian Nöthlich 2020-05-06 21:58:10 +02:00
parent 735c9c0a3c
commit 2995bb226e
No known key found for this signature in database
GPG key ID: CBA6B4E35D326EFE
3 changed files with 3 additions and 2 deletions

View file

@ -12,6 +12,8 @@ WORKDIR /cryptpad
# Get cryptpad from repository submodule # Get cryptpad from repository submodule
COPY cryptpad /cryptpad COPY cryptpad /cryptpad
RUN sed -i "s/\/\/httpAddress: \x27::\x27/httpAddress: \x270.0.0.0\x27/" /cryptpad/config/config.example.js
# Install dependencies # Install dependencies
RUN npm install --production \ RUN npm install --production \
&& npm install -g bower \ && npm install -g bower \

View file

@ -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 * Mounted files and folders have to be owned by userid 4001. It is possible you have to run
`sudo chown -R 4001:4001 filename` `sudo chown -R 4001:4001 filename`
### Dockerfile ### Dockerfile
* Run: `docker run -d -p 3000:3000 -p 3001:3001 promasu/cryptpad` * Run: `docker run -d -p 3000:3000 -p 3001:3001 promasu/cryptpad`

@ -1 +1 @@
Subproject commit 9f1f01f3b4ce3e576dbf3101e2f57a29b6798ee7 Subproject commit ab7c31c681518427abf17209fb35d841c0ae2100