emberstack / docker-sftp

SFTP Server for Docker
MIT License
196 stars 51 forks source link

Enhancement: Generate sftp.json if not supplied #95

Closed mgutt closed 2 years ago

mgutt commented 2 years ago

At the moment it is needed to mount the config file as follows:

-v /host/sftp.json:/app/config/sftp.json:ro

Problem: Docker will create an empty dir name "sftp.json/" if the file is not present.

Instead I would like to see mounting the config dir:

-v /host/config/:/app/config/:rw

And if no sftp.json is present, it should create an example of sftp.json and sssd.conf in this dir.

By that it would be easier to use this container.

stale[bot] commented 2 years ago

Automatically marked as stale due to no recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

Automatically closed stale item.