Sign inSign up

slmitch/proftpd

By slmitch

Updated over 8 years ago

Fork of instantlinux/proftpd A clean, yet full-featured installation of proftpd wrapped in Alpine.

Image
1

1.2K

slmitch/proftpd repository overview

proftpd

An easy-to-use, tiny yet full-featured installation of ProFTPD.

Fork of instantlinux/docker-tools, but without secret, all in environment variable (less secure, but for other workflow)

Usage

The most-common directives can be specified in environment variables as shown below. One is required, the PASV_ADDRESS. If you need further customizations, put them in one or more files under mount points /etc/proftpd.d and /etc/proftpd/modules.d.

A single upload user can be specified via the FTPUSER_xxx variables. It is activated by defining ftp-user-password-secret thus:

An example compose file is provided here in docker-compose.yml. This is for the common scenario of sharing from Docker swarm the contents of a network-attached volume as a read-only anonymous-ftp service.

Variables
VariableDefaultDescription
ALLOW_OVERWRITEonallow clients to modify files
ANONYMOUS_DISABLEoffanonymous login
ANON_UPLOAD_ENABLEDenyAllanonymous upload
FTPUSER_PASSWORDftppasswordpw of upload user
FTPUSER_NAMEftpuserupload username
FTPUSER_UID1001upload file ownership UID
LOCAL_UMASK022upload umask
MAX_CLIENTS10maximum simultaneous logins
MAX_INSTANCES30process limit
PASV_ADDRESSrequired--address of docker engine
PASV_MAX_PORT30100range of client ports (rebuild image if changed)
PASV_MIN_PORT30091
TIMES_GMTofflocal time for directory listing
TZUTClocal timezone
WRITE_ENABLEAllowAllallow put/rm

Tag summary

Content type

Image

Digest

Size

4.4 MB

Last updated

over 8 years ago

docker pull slmitch/proftpd