config-resources:
  - /etc/vsftpd/vsftpd.conf
data-resources:
  - /home
  - /var/log/vsftp

default-options:
  ftpd-banner: "Welcome to FTP Server"
  dirmessage-enable: yes
  delay-failed-login: 2
  max-clients: 10
  max-per-ip: 5
  max-login-fails: 3

  ## to check what these are
  write-enable: yes
  local-umask: "022"  ## remember to send a string here

  users:

docker-compose:
  ports:
  - "21:21"

provides:
  ftp-access:
    tech-dep: reversed


uses:
  log-rotate:
    constraint: recommended
    auto: pair
    solves:
      disk-leak: "/var/log/vsftp"
  cert-provider:
    constraint: optional
    auto: pair
    limit: n
    solves:
      feature: "SSL certificate generation"