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:
parent
17406d1aab
commit
2a7bff4c0e
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue