update readme for docker install

This commit is contained in:
SharkoZ
2019-09-03 10:53:32 +02:00
parent 6c58bb2bc8
commit 2ec596e09a
+27
View File
@@ -14,8 +14,35 @@ This is a web interface for [OwnTracks](https://github.com/owntracks/recorder),
## Installation
### Manual install
Clone the repository and copy `index.html` and the `static/` directory to your server's webroot. The API is expected to be reachable under the same domain as the web interface.
### Docker
You can launch directly via docker run like this :
```bash
docker run -d -p 80:80 -e SERVER_URL=otrecorder-url -e SERVER_PORT=otrecorder-port cosme/owntracks-ui
```
Or you can use docker-compose (if you also run otrecorder with the default compose config, and the service is named `otrecorder`):
``` yaml
version: '3'
services:
owntracks-ui:
image: cosme/owntracks-ui
ports:
- 80:80
environment:
- SERVER_URL=otrecorder
- SERVER_PORT=8083
restart: unless-stopped
```
## Features
- Enable or disable multiple layers: