Skip to content
This repository was archived by the owner on May 25, 2024. It is now read-only.

Commit 685c03c

Browse files
Bot Updating Templated Files
1 parent 950fc90 commit 685c03c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ services:
8484
- MAXLINES=32 #optional
8585
- MAXCLIENTS=4096 #optional
8686
- LOGFILE=false #optional
87+
- BINDFAMILY= #optional
8788
volumes:
8889
- /path/to/appdata:/config #optional
8990
ports:
@@ -103,6 +104,7 @@ docker run -d \
103104
-e MAXLINES=32 `#optional` \
104105
-e MAXCLIENTS=4096 `#optional` \
105106
-e LOGFILE=false `#optional` \
107+
-e BINDFAMILY= `#optional` \
106108
-p 22:2222 \
107109
-v /path/to/appdata:/config `#optional` \
108110
--restart unless-stopped \
@@ -123,6 +125,7 @@ Container images are configured using parameters passed at runtime (such as thos
123125
| `-e MAXLINES=32` | The length of each line is randomized. This controls the maximum length of each line. Shorter lines may keep clients on for longer if they give up after a certain number of bytes. |
124126
| `-e MAXCLIENTS=4096` | Maximum number of connections to accept at a time. Connections beyond this are not immediately rejected, but will wait in the queue. |
125127
| `-e LOGFILE=false` | By default, the app logs to container log. If this is set to `true`, the log will be output to file under `/config/logs/endlessh` (`/config` needs to be mapped). |
128+
| `-e BINDFAMILY=` | By default, the app binds to IPv4 and IPv6 addresses. Set it to `4` or `6` to bind to IPv4 only or IPv6 only, respectively. Leave blank to bind to both. |
126129
| `-v /config` | Required if `LOGFILE` is set to `true`. |
127130

128131
## Environment variables from files (Docker secrets)
@@ -234,4 +237,5 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
234237

235238
## Versions
236239

240+
* **08.06.21:** - Add BINDFAMILY option.
237241
* **16.04.21:** - Initial Release.

0 commit comments

Comments
 (0)