Browse Source

Update more documentation and repush to Docker Hub

master
Carlos Mogas da Silva 2 months ago
parent
commit
852e8c017d
  1. 2
      .drone.yml
  2. 12
      README.md
  3. 2
      docker-compose.yml

2
.drone.yml

@ -36,7 +36,7 @@ steps:
- name: build-docker-image
image: plugins/docker
settings:
repo: r3pek/scp-server
repo: r3pek/sftp-server
username:
from_secret: docker_username
password:

12
README.md

@ -1,9 +1,9 @@
SCP server
SFTP server
==========
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:
sftp -P <PORT> data@<DOCKER-HOST>

2
docker-compose.yml

@ -1,5 +1,5 @@
scpserver:
image: eeacms/scp-server
image: r3pek/sftp-server
ports:
- "2222:22"
environment:

Loading…
Cancel
Save