blob: 973a94239614184b28d3998a33d7f5b0ff729479 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
services:
sftp:
image: atmoz/sftp:debian
restart: always
command: user:notverysecret:1000
volumes:
- ./ssh_host_ed25519_key:/etc/ssh/ssh_host_ed25519_key
- ./ssh_host_rsa_key:/etc/ssh/ssh_host_rsa_key
- ./user_public.pub:/home/user/.ssh/keys/id_rsa.pub:ro
- ../../../build/test-share:/home/user/share
ports:
- "127.0.0.1:10022:22"
|