You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
539 B
18 lines
539 B
4 years ago
|
version: "3"
|
||
|
|
||
|
services:
|
||
|
sftp:
|
||
|
image: ${SFTP_IMG:-atmoz/sftp}:${SFTP_TAG:-latest}
|
||
|
container_name: ${SFTP_CONTAINER_NAME:-sftp}
|
||
|
restart: ${SFTP_RESTART:-unless-stopped}
|
||
|
volumes:
|
||
|
- ${LOCAL_STACK_DIR}/sftp/home:/home
|
||
|
- ${LOCAL_STACK_DIR}/sftp/etc/sftp:/etc/sftp:ro
|
||
|
- ${LOCAL_STACK_DIR}/sftp/etc/ssh:/etc/ssh
|
||
|
- ${LOCAL_STACK_DIR}/sftp/etc/sftp.d:/etc/sftp.d:ro
|
||
|
- ${LOCAL_STACK_DIR}/sftp/mnt:/mnt:ro
|
||
|
ports:
|
||
|
- "${SFTP_IP:-0.0.0.0}:${SFTP_EXT_PORT:2222}:22"
|
||
|
cap_add:
|
||
|
- SYS_ADMIN
|