jean-cloud-services/services/sftp.jean-cloud.net/docker-compose.yml
2024-04-18 16:22:32 +02:00

18 lines
621 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
- $DATA_DIR/home/compagnienouvelle.fr/public:/home/compagnienouvelle.frRO/public:ro
ports:
- '2929:22'