do some things with docker which I don't really understand

pull/1/head
ansuz 6 years ago
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…
Cancel
Save