sftpgo/env.example

39 lines
1.0 KiB
Plaintext

# Træfik
TRAEFIK_ENABLED=true
TRAEFIK_NETWORK=traefik
TRAEFIK_ROUTER=ftp_example_com
TRAEFIK_SERVICE=ftp_example_com
TRAEFIK_SERVICE_PORT=8080
TRAEFIK_MATCHRULE=Host(`ftp.example.com`)
TRAEFIK_TLSENABLED=true
TRAEFIK_CERTRESOLVER=letsencrypt
TRAEFIK_HTTP_MIDDLEWARES=http-to-https
TRAEFIK_HTTPS_MIDDLEWARES=hsts
# SFTPGo
SG_VERSION=latest
SG_CONFIG=./data/config
SG_DATA=./data/userdata
SG_COMMON__IDLE_TIMEOUT=3
SG_COMMON__UPLOAD_MODE=1
SG_SFTPD__BINDINGS__PORT=0
SG_FTPD__BINDINGS__PORT=2021
# CHANGEME:
SG_FTPD__BINDINGS__TLS_MODE=0
SG_FTPD__DISABLE_ACTIVE_MODE=true
SG_FTPD__CERTIFICATE_FILE=
SG_FTPD__CERTIFICATE_KEY_FILE=
SG_DATA_PROVIDER__DRIVER=sqlite
SG_DATA_PROVIDER__NAME=config.db
SG_TELEMETRY__BIND_PORT=8081
SG_TELEMETRY__BIND_ADDRESS=
SG_MFA__TOTP__NAME=ftp.example.com
SG_MFA__TOTP__ISSUER=FTP Example Company
SG_SMTP__HOST=smtp.example.com
SG_SMTP__PORT=465
SG_SMTP__FROM=FTP <noreply@example.com>
SG_SMTP__USER=noreply@example.com
SG_SMTP__PASSWORD=P4ssw0rd!
SG_SMTP__ENCRYPTION=1
SG_SMTP__DOMAIN=ftp.example.com