mirror of https://github.com/xwiki-labs/cryptpad
do some things with docker which I don't really understand
This commit is contained in:
parent
c199a9a3e7
commit
ff22af3343
|
@ -33,6 +33,7 @@ VOLUME /cryptpad/tasks
|
|||
VOLUME /cryptpad/block
|
||||
VOLUME /cryptpad/blob
|
||||
VOLUME /cryptpad/blobstage
|
||||
VOLUME /cryptpad/data
|
||||
|
||||
# Copy cryptpad and tini from the build container
|
||||
COPY --from=build /sbin/tini /sbin/tini
|
||||
|
@ -44,4 +45,4 @@ WORKDIR /cryptpad
|
|||
EXPOSE 3000 3001
|
||||
|
||||
# Run cryptpad on startup
|
||||
CMD ["/sbin/tini", "--", "/cryptpad/container-start.sh"]
|
||||
CMD ["/sbin/tini", "--", "/cryptpad/container-start.sh"]
|
||||
|
|
|
@ -31,3 +31,4 @@ services:
|
|||
- ./data/tasks:/cryptpad/tasks:rw
|
||||
- ./data/block:/cryptpad/block:rw
|
||||
- ./data/config:/cryptpad/cfg:rw
|
||||
- ./data/data:/cryptpad/data:rw
|
||||
|
|
Loading…
Reference in New Issue