version: "3.9"
services:
  sftp:
    image: atmoz/sftp
    container_name: sftp
    restart: always
    volumes:
      - ./:/home/foo/ftp
    ports:
      - "2222:22"
    command: foo:pass:1001
