jean-cloud-services/services/sftp.jean-cloud.net/docker-compose.yml
Adrian Amaglio d75f851959 update
2024-02-22 01:43:01 +01:00

17 lines
529 B
YAML

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
- $DOCKER_DIR/init.sh:/etc/sftp.d/init.sh:ro
- $DATA_DIR/home:/home
- $DATA_DIR/home/leida/public:/home/leidaRO/public:ro
- $DATA_DIR/home/chiloe/public:/home/chiloeRO/public:ro
ports:
- '2929:22'