mirror of
https://github.com/xwiki-labs/cryptpad-docker.git
synced 2024-11-22 03:45:04 +00:00
Fix default config to not only serve to localhost
Signed-off-by: Adrian Nöthlich <git@promasu.tech>
This commit is contained in:
parent
735c9c0a3c
commit
2995bb226e
3 changed files with 3 additions and 2 deletions
|
@ -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 \
|
||||||
|
|
|
@ -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`
|
||||||
|
|
2
cryptpad
2
cryptpad
|
@ -1 +1 @@
|
||||||
Subproject commit 9f1f01f3b4ce3e576dbf3101e2f57a29b6798ee7
|
Subproject commit ab7c31c681518427abf17209fb35d841c0ae2100
|
Loading…
Reference in a new issue