feat: switch to boltdb by default to make the container work out of the box

Signed-off-by: Mark Sagi-Kazar <mark.sagikazar@gmail.com>
This commit is contained in:
Mark Sagi-Kazar 2020-10-05 12:44:59 +02:00 committed by Nicola Murino
parent 17406d1aab
commit 2a7bff4c0e

View file

@ -52,6 +52,8 @@ COPY --from=builder /workspace/templates /srv/sftpgo/web/templates
COPY --from=builder /workspace/static /srv/sftpgo/web/static
COPY --from=builder /workspace/sftpgo /usr/local/bin/
RUN sed -i "s/sqlite/bolt/; s|sftpgo.db|/var/lib/sftpgo/sftpgo.db|" /etc/sftpgo/sftpgo.json
RUN chown -R sftpgo:sftpgo /etc/sftpgo /var/lib/sftpgo /srv/sftpgo/web
USER sftpgo