15 lines
394 B
YAML
15 lines
394 B
YAML
version: "3"
|
|
services:
|
|
sftp:
|
|
image: atmoz/sftp
|
|
container_name: sftp_sftp
|
|
restart: unless-stopped
|
|
ports:
|
|
- 23450:22/tcp
|
|
volumes:
|
|
- ${DOCKER_DATA}/data:/home/sftp/upload
|
|
- ./users.conf:/etc/sftp/users.conf:ro
|
|
|
|
# https://hub.docker.com/r/atmoz/sftp
|
|
# hash a password:
|
|
# echo -n "your-password" | docker run -i --rm atmoz/makepasswd --crypt-md5 --clearfrom=- |