Jafner.net/homelab/server/config/sftp/docker-compose.yml

15 lines
384 B
YAML

version: "3"
services:
sftp:
image: atmoz/sftp
container_name: sftp_sftp
restart: "no"
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=-