2023-10-31 16:00:18 +00:00
|
|
|
version: '3'
|
|
|
|
services:
|
|
|
|
sshd:
|
|
|
|
image: docker.io/atmoz/sftp:alpine
|
|
|
|
volumes:
|
|
|
|
- $DATA_DIR/ssh_host_ed25519_key:/etc/ssh/ssh_host_ed25519_key:ro
|
|
|
|
- $DATA_DIR/ssh_host_rsa_key:/etc/ssh/ssh_host_rsa_key:ro
|
|
|
|
- $DATA_DIR/users.conf:/etc/sftp/users.conf:ro
|
2024-01-02 16:50:14 +00:00
|
|
|
- $DOCKER_DIR/init.sh:/etc/sftp.d/init.sh:ro
|
2023-10-31 16:00:18 +00:00
|
|
|
|
2024-01-02 16:50:14 +00:00
|
|
|
- $DATA_DIR/home:/home
|
2024-02-22 00:43:01 +00:00
|
|
|
- $DATA_DIR/home/leida/public:/home/leidaRO/public:ro
|
|
|
|
- $DATA_DIR/home/chiloe/public:/home/chiloeRO/public:ro
|
2023-10-31 16:00:18 +00:00
|
|
|
ports:
|
|
|
|
- '2929:22'
|
|
|
|
|