Skip to content

Commit 095f1e9

Browse files
committed
docs: more arguments description
1 parent d7da11c commit 095f1e9

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

README.md

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ You can also use environment variables to specify.
1919
docker run -d --network host --name syncplay \
2020
--env PORT=12345 \
2121
--env PASSWD=dnomd343 \
22+
--env MOTD="Hello World" \
23+
--env ISOLATE=ON \
2224
dnomd343/syncplay
2325
```
2426

@@ -35,7 +37,7 @@ docker run -d --network host --name syncplay \
3537

3638
You can specify the following arguments:
3739

38-
+ `--port [PORT]` :Listening port of Syncplay server, the default is `8999`.
40+
+ `--port [PORT]` :Listening port of Syncplay server, the default is `8999`
3941

4042
+ `--motd [MESSAGE]` :The welcome text after the user enters the room.
4143

@@ -73,13 +75,17 @@ acme.sh --install-cert -d 343.re \
7375

7476
You can also specify arguments through environment variables:
7577

76-
+ `PORT` :Equivalent to `--port`.
78+
+ `PORT` :Equivalent to `--port`
7779

78-
+ `SALT` :Equivalent to `--salt`.
80+
+ `SALT` :Equivalent to `--salt`
7981

80-
+ `PASSWD` :Equivalent to `--password`.
82+
+ `MOTD` :Equivalent to `--motd`
8183

82-
+ `TLS=ON` :Equivalent to `--enable-tls`.
84+
+ `PASSWD` :Equivalent to `--password`
85+
86+
+ `TLS=ON` :Equivalent to `--enable-tls`
87+
88+
+ `ISOLATE=ON` :Equivalent to `--isolate-room`
8389

8490
> Note that its priority is lower than command line arguments.
8591

0 commit comments

Comments
 (0)