2017-06-13 13:36:25 +00:00
|
|
|
File access with [ProFTPD](http://www.proftpd.org/) over sftp and ldap authentication.
|
2016-10-31 17:53:00 +00:00
|
|
|
|
|
|
|
# Volumes
|
2017-09-06 08:46:44 +00:00
|
|
|
- `/var/lib/ftp/data`: root directory for files
|
|
|
|
- `/etc/proftpd/keys`: ssh key files
|
2016-10-31 17:53:00 +00:00
|
|
|
|
|
|
|
# Environment Variables
|
|
|
|
## SERVER_NAME
|
|
|
|
Name displayed to connecting users.
|
|
|
|
|
2017-10-18 09:31:18 +00:00
|
|
|
## STATIC_USER
|
|
|
|
A static username for authentication.
|
|
|
|
|
|
|
|
## STATIC_PASSWORD
|
|
|
|
Password for the static user.
|
|
|
|
|
|
|
|
## STATIC_UID
|
|
|
|
Uid for the static user.
|
|
|
|
|
|
|
|
## STATIC_GID
|
|
|
|
Gid for the static user.
|
|
|
|
|
2016-10-31 17:53:00 +00:00
|
|
|
## LDAP_URI
|
2017-10-18 09:31:18 +00:00
|
|
|
Full ldap uri with search qualifier. Disables ldap auth if empty.
|
2016-10-31 17:53:00 +00:00
|
|
|
|
|
|
|
For example: `ldap://ldap:389/??sub`
|
|
|
|
|
|
|
|
## LDAP_BASE
|
|
|
|
Base DN for ldap searches.
|
|
|
|
|
|
|
|
## LDAP_FILTER
|
|
|
|
Ldap [filter](http://www.proftpd.org/docs/directives/linked/config_ref_LDAPUsers.html) to find valid users.
|
|
|
|
|
|
|
|
`%u` is replaced with the username.
|
|
|
|
|
|
|
|
## LDAP_BIND_DN
|
|
|
|
DN to use when connecting to the ldap host.
|
|
|
|
|
|
|
|
## LDAP_BIND_PASSWORD
|
|
|
|
Password to use when connecting to the ldap host.
|
|
|
|
|
|
|
|
## LDAP_USE_TLS
|
|
|
|
- default: on
|
|
|
|
|
|
|
|
Whether to use tls when connecting to the ldap host.
|
|
|
|
|
|
|
|
## LDAP_USE_AUTH_BIND
|
|
|
|
- default: on
|
|
|
|
|
|
|
|
Whether to use auth bind with ldap.
|
|
|
|
|
|
|
|
# Ports
|
2017-06-13 13:36:25 +00:00
|
|
|
- 22
|
2016-10-31 17:53:00 +00:00
|
|
|
|
|
|
|
## Capabilities
|
|
|
|
- DAC_OVERRIDE
|
|
|
|
- NET_BIND_SERVICE
|
|
|
|
- SETGID
|
|
|
|
- SETUID
|
2016-10-31 19:45:16 +00:00
|
|
|
- SYS_CHROOT
|