diff --git a/README.md b/README.md index b2bf2ca..94e7f6b 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ A pre-built Docker image is available on Docker Hub as [`owntracks/frontend`](ht You can start a container directly via `docker run`: ```console -$ docker run -d -p 80:80 -e SERVER_HOST=otrecorder-host -e SERVER_PORT=otrecorder-port owntracks/frontend +$ docker run -d -p 80:80 -e SERVER_HOST=otrecorder-host -e SERVER_PORT=8083 owntracks/frontend ``` Or you can use `docker-compose` (if you also run the OwnTracks Recorder with the default @@ -61,6 +61,17 @@ services: restart: unless-stopped ``` +To build the image from source replace `image:` with: + +```yaml +build: + context: ./owntracks-frontend + dockerfile: docker/Dockerfile +``` + +(assuming you have this repository cloned to `owntracks-frontend` in the same +directory as `docker-compose.yml`) + ### Manually - Run `yarn install --production` to install dependencies