Skip to content

Commit dfbc455

Browse files
committed
Added docker usage
1 parent 02220a1 commit dfbc455

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,20 @@ a load balancer like nginx to forward the traffic to the internet.
5252

5353
Use images `wolnosciowiec/reverse-networking` and `wolnosciowiec/reverse-networking:armhf` to run container with reverse-networking installed.
5454

55+
```
56+
version: "2"
57+
services:
58+
proxy:
59+
image: wolnosciowiec/reverse-networking
60+
volumes:
61+
- "./containers/proxy/conf.d:/rn/conf.d:ro"
62+
- "./data/proxy-ssh:/home/revproxy/.ssh"
63+
- "./containers/proxy/ssh/id_rsa:/id_rsa:ro"
64+
- "./containers/proxy/ssh/id_rsa.pub:/id_rsa.pub:ro"
65+
environment:
66+
- LOOP_SLEEP_TIME=30
67+
```
68+
5569
## Example configurations
5670

5771

0 commit comments

Comments
 (0)