aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorAleksandar Puharic <xzero@elite7hackers.net>2020-05-11 05:55:21 +0200
committerGitHub <noreply@github.com>2020-05-11 11:55:21 +0800
commit20038646152232cf6458ce4b1d99623fea097722 (patch)
tree576b7de2b6c9744bf9d29b33ed3e9d1b04abb5c5 /Dockerfile
parent1125bb5848006d1269355475553426340af62254 (diff)
docker: add scheduled backups with retention policy (#6140)
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index a317d790..6a409ddd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -38,7 +38,7 @@ COPY --from=binarybuilder /gogs.io/gogs/gogs .
RUN ./docker/finalize.sh
# Configure Docker Container
-VOLUME ["/data"]
+VOLUME ["/data", "/backup"]
EXPOSE 22 3000
ENTRYPOINT ["/app/gogs/docker/start.sh"]
CMD ["/bin/s6-svscan", "/app/gogs/docker/s6/"]