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

This commit is contained in:
ansuz 2019-06-20 12:15:02 +02:00
parent c199a9a3e7
commit ff22af3343
2 changed files with 3 additions and 1 deletions

View File

@ -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"]

View File

@ -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