You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 25, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -84,6 +84,7 @@ services:
84
84
- MAXLINES=32 #optional
85
85
- MAXCLIENTS=4096 #optional
86
86
- LOGFILE=false #optional
87
+
- BINDFAMILY= #optional
87
88
volumes:
88
89
- /path/to/appdata:/config #optional
89
90
ports:
@@ -103,6 +104,7 @@ docker run -d \
103
104
-e MAXLINES=32 `#optional` \
104
105
-e MAXCLIENTS=4096 `#optional` \
105
106
-e LOGFILE=false `#optional` \
107
+
-e BINDFAMILY= `#optional` \
106
108
-p 22:2222 \
107
109
-v /path/to/appdata:/config `#optional` \
108
110
--restart unless-stopped \
@@ -123,6 +125,7 @@ Container images are configured using parameters passed at runtime (such as thos
123
125
|`-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. |
124
126
|`-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. |
125
127
|`-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. |
126
129
|`-v /config`| Required if `LOGFILE` is set to `true`. |
127
130
128
131
## Environment variables from files (Docker secrets)
@@ -234,4 +237,5 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
0 commit comments