Merge pull request #86 from t0xic0der/restart-policy

Added restart policy and detach mode
This commit is contained in:
Ken-Håvard Lieng 2021-05-30 19:16:02 +02:00 committed by GitHub
commit 668858dfec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,12 @@ dispatch help
### 3. Docker
```bash
docker run -p <http port>:80 -p <https port>:443 -v <path>:/data khlieng/dispatch
docker run \
-p <http port>:80 \
-p <https port>:443 \
-v <path>:/data \
--restart unless-stopped \
-d khlieng/dispatch
```
## Build