sftp: image: atmoz/sftp volumes: - ${PWD}/upload:/home/foo/upload ports: - "2222:22" command: foo:user123:1001