-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
services/pkg/sftpgo: update, add rsync, move env to nomad
- Loading branch information
1 parent
9d62fd4
commit 848d2a3
Showing
1 changed file
with
2 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,6 @@ | ||
FROM ghcr.io/void-linux/void-glibc:latest | ||
|
||
RUN xbps-install -Syu xbps && xbps-install -Sy tini sftpgo NetAuth-sftpgo-hook | ||
|
||
ENV SFTPGO_HTTPD__TEMPLATES_PATH=/usr/share/sftpgo/templates \ | ||
SFTPGO_HTTPD__STATIC_FILES_PATH=/usr/share/sftpgo/static \ | ||
SFTPGO_DATA_PROVIDER__DRIVER=sqlite \ | ||
SFTPGO_DATA_PROVIDER__NAME=/data/sftpgo.db \ | ||
SFTPGO_SFTPD__HOST_KEYS=/secrets/id_rsa,/secrets/id_ecdsa,/secrets/id_ed25519 \ | ||
SFTPGO_DATA_PROVIDER__EXTERNAL_AUTH_HOOK=/usr/libexec/sftpgo/netauth-hook \ | ||
SFTPGO_NETAUTH_HOMEDIR=/data/home \ | ||
SFTPGO_NETAUTH_REQUIREGROUP=sftpgo | ||
RUN xbps-install -Syu xbps && xbps-install -yu && \ | ||
xbps-install -Sy tini sftpgo NetAuth-sftpgo-hook rsync | ||
|
||
ENTRYPOINT ["/usr/bin/tini", "/usr/bin/sftpgo", "serve"] |