mirror of
https://github.com/yrutschle/sslh.git
synced 2025-04-14 08:07:14 +03:00
Merge pull request #317 from jeffre/master
docs: corrections to docker usage
This commit is contained in:
commit
bccb78e1a3
15
README.md
15
README.md
@ -50,19 +50,18 @@ Build docker image
|
|||||||
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker container run \
|
docker run \
|
||||||
--rm \
|
--rm \
|
||||||
-it \
|
-it \
|
||||||
|
sslh:latest \
|
||||||
--listen=0.0.0.0:443 \
|
--listen=0.0.0.0:443 \
|
||||||
--ssh=hostname:22 \
|
--ssh=hostname:22 \
|
||||||
--tlshostname:443 \
|
--tls=hostname:443
|
||||||
sslh:latest
|
|
||||||
```
|
```
|
||||||
|
|
||||||
docker-compose example
|
docker-compose example
|
||||||
|
|
||||||
```
|
```
|
||||||
---
|
|
||||||
version: "3"
|
version: "3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
@ -70,19 +69,17 @@ services:
|
|||||||
image: sslh:latest
|
image: sslh:latest
|
||||||
hostname: sslh
|
hostname: sslh
|
||||||
ports:
|
ports:
|
||||||
- 443:443/tcp
|
- 443:443
|
||||||
command: --listen=0.0.0.0:443 --tlshostname:443 --openvpn=openvpn:1194
|
command: --listen=0.0.0.0:443 --tls=nginx:443 --openvpn=openvpn:1194
|
||||||
depends_on:
|
depends_on:
|
||||||
- nginx
|
- nginx
|
||||||
- openvpn
|
- openvpn
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx
|
image: nginx
|
||||||
hostname: nginx
|
|
||||||
|
|
||||||
openvpn:
|
openvpn:
|
||||||
image: openvpn:latest
|
image: openvpn
|
||||||
hostname: openvpn
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Comments? Questions?
|
Comments? Questions?
|
||||||
|
Loading…
x
Reference in New Issue
Block a user