Browse Source

docs: update README.md

pull/2/head
dnomd343 3 years ago
parent
commit
742384cf9c
  1. 25
      README.md

25
README.md

@ -1,27 +1,26 @@
## Quick Start ## Quick Start
Start a syncplay service, default at `tcp/8999`, you can also specify a password. Start a syncplay service at `tcp/8999`, you can also specify a password.
```bash ```bash
docker run -d \ docker run -d \
--net=host \ --network host \
--name=syncplay \ --name syncplay \
-e PORT=<PORT> \ --env PORT=<PORT> \
-e PASSWORD=<PASSWORD> \ --env PASSWORD=<PASSWORD> \
dnomd343/syncplay dnomd343/syncplay
``` ```
If TLS is enabled, you have to set hostname and certificate folder. If TLS is enabled, you have to set certificate folder with `privkey.pem`, `cert.pem` and `chain.pem`.
```bash ```bash
docker run -d \ docker run -d \
--net=host \ --network host \
--name=syncplay \ --name syncplay \
--hostname=syncplay.your.domain --env PORT=<PORT> \
-e PORT=<PORT> \ --env PASSWORD=<PASSWORD> \
-e PASSWORD=<PASSWORD> \ --env TLS=/certs \
-e TLS=/certs \ --volume <certs>:/certs \
-v <certs>:/certs \
dnomd343/syncplay dnomd343/syncplay
``` ```

Loading…
Cancel
Save