@ -1,6 +1,5 @@
# Global Settings
LOCAL_STACK_DIR=/srv/docker/volumes/sftp
LOCAL_VOLUMES_DIR=/srv/docker/volumes
# sftp (optional)
SFTP_IMG=
@ -12,6 +12,6 @@ services:
- ${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"
- "${SFTP_IP:-0.0.0.0}:${SFTP_EXT_PORT:-2222}:22"
cap_add:
- SYS_ADMIN