mirror of
https://github.com/atmoz/sftp.git
synced 2024-11-17 12:51:33 -05:00
Add example using Docker Compose
This commit is contained in:
parent
be889cbea5
commit
ba5f021612
1 changed files with 12 additions and 0 deletions
12
README.md
12
README.md
|
@ -27,6 +27,18 @@ docker run \
|
||||||
foo:123:1001
|
foo:123:1001
|
||||||
```
|
```
|
||||||
|
|
||||||
|
#### Using Docker Compose:
|
||||||
|
|
||||||
|
```
|
||||||
|
sftp:
|
||||||
|
image: atmoz/sftp
|
||||||
|
volumes:
|
||||||
|
- /host/share:/home/foo/share
|
||||||
|
ports:
|
||||||
|
- "2222:22"
|
||||||
|
command: foo:123:1001
|
||||||
|
```
|
||||||
|
|
||||||
#### Logging in
|
#### Logging in
|
||||||
|
|
||||||
The OpenSSH server runs by default on port 22, and in this example, we are
|
The OpenSSH server runs by default on port 22, and in this example, we are
|
||||||
|
|
Loading…
Reference in a new issue