Go to file
2018-06-08 14:19:01 +02:00
rootfs/etc update config 2018-06-08 14:19:01 +02:00
.drone.yml replace gitlab ci with drone 2018-06-07 11:36:26 +02:00
.editorconfig update base image 2017-01-10 15:38:38 +01:00
.gitignore initial commit 2016-10-13 13:52:14 +02:00
Dockerfile add site misc module 2018-06-08 13:42:18 +02:00
README.md add static user possibility 2017-10-18 11:31:18 +02:00

File access with ProFTPD over sftp and ldap authentication.

Volumes

  • /var/lib/ftp/data: root directory for files
  • /etc/proftpd/keys: ssh key files

Environment Variables

SERVER_NAME

Name displayed to connecting users.

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.

LDAP_URI

Full ldap uri with search qualifier. Disables ldap auth if empty.

For example: ldap://ldap:389/??sub

LDAP_BASE

Base DN for ldap searches.

LDAP_FILTER

Ldap filter 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

  • 22

Capabilities

  • DAC_OVERRIDE
  • NET_BIND_SERVICE
  • SETGID
  • SETUID
  • SYS_CHROOT