feat(service): add sftpgo template (#6415)

Co-authored-by: 🏔️ Peak <122374094+peaklabs-dev@users.noreply.github.com>
This commit is contained in:
Vincent Baeten 2026-01-05 15:08:30 +01:00 committed by GitHub
parent e85ca3c41c
commit c8a5407bfd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5179 additions and 8279 deletions

13412
CHANGELOG.md

File diff suppressed because it is too large Load diff

BIN
public/svgs/sftpgo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -0,0 +1,46 @@
# documentation: https://docs.sftpgo.com/2.7/
# slogan: SFTPGo is an event-driven SFTP, FTP/S, HTTP/S and WebDAV server.
# tags: sftpgo,sftp,ftp,file,webdav
# logo: svgs/sftpgo.png
# port: 8080
services:
sftpgo:
image: ghcr.io/drakkan/sftpgo:v2.7-alpine
ports:
- 2222:2222
environment:
- SERVICE_FQDN_SFTPGO_8080
- SFTPGO_DATA_PROVIDER__DRIVER=postgresql
- SFTPGO_DATA_PROVIDER__CONNECTION_STRING=postgresql://${SERVICE_USER_POSTGRES}:${SERVICE_PASSWORD_64_POSTGRES}@postgresql:5432/${POSTGRES_DATABASE:-sftpgo-db}
- SFTPGO_SFTPD__BINDINGS__0__PORT=2022
- SFTPGO_LOG_LEVEL=${LOG_LEVEL:-info}
healthcheck:
test:
- CMD-SHELL
- wget -qO- http://127.0.0.1:8080/
interval: 5s
timeout: 20s
retries: 10
depends_on:
postgresql:
condition: service_healthy
volumes:
- sftpgo-data:/srv/sftpgo/data
- sftpgo-keys:/var/lib/sftpgo
postgresql:
image: postgres:17-alpine
environment:
- POSTGRES_USER=${SERVICE_USER_POSTGRES}
- POSTGRES_PASSWORD=${SERVICE_PASSWORD_64_POSTGRES}
- POSTGRES_DB=${POSTGRES_DATABASE:-sftpgo-db}
volumes:
- postgresql-data:/var/lib/postgresql/data
healthcheck:
test:
- CMD-SHELL
- "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"
interval: 5s
timeout: 10s
retries: 20