Restricted SSH server which allows SFTP access only. This image is meant to provide an ability to update content in data containers. You would normally make a constellation of your service, a data container, and the scp-server container.
Restricted SSH server which allows SFTP access only. This image is meant to provide an ability to update content in data containers. You would normally make a constellation of your service, a data container, and the sftp-server container.
The scp-server container is configured at runtime with environment variables to match the configuration of the main service. The environment variables are:
The sftp-server container is configured at runtime with environment variables to match the configuration of the main service. The environment variables are:
**Environment Variables:**
* `AUTHORIZED_KEYS` - contains the public SSH keys for the users who will be allowed to upload.
@ -21,8 +21,8 @@ It is easiest if you use docker-compose. Then you can specify the authorized SSH
docker-compose.yml file:
```
scpserver:
image: eeacms/scp-server
sftpserver:
image: r3pek/sftp-server
ports:
- <PORT>:22
environment:
@ -47,7 +47,7 @@ htdocs:
- <DATADIR>:/usr/local/apache2/htdocs
```
When started you can upload data into the container (e.g. via scp) as the `data` user:
When started you can upload data into the container as the `data` user: