Browse Source

add docker to readme

pull/1/head
Jason Dove 5 years ago
parent
commit
62548fade8
  1. 2
      Dockerfile
  2. 16
      README.md

2
Dockerfile

@ -31,5 +31,7 @@ RUN dotnet publish -c release -o /app -r linux-x64 --self-contained false --no-r @@ -31,5 +31,7 @@ RUN dotnet publish -c release -o /app -r linux-x64 --self-contained false --no-r
# final stage/image
FROM runtime-base
WORKDIR /app
EXPOSE 8989
ENV ASPNETCORE_URLS http://+:8989
COPY --from=build /app ./
ENTRYPOINT ["./ErsatzTV"]

16
README.md

@ -37,6 +37,22 @@ Want to join the community or have a question? Join us on [Discord](https://disc @@ -37,6 +37,22 @@ Want to join the community or have a question? Join us on [Discord](https://disc
![Plex Live TV Stream](docs/plex-live-tv-stream.png)
Sintel is © copyright Blender Foundation | durian.blender.org
## Running ErsatzTV
The easiest way to run ErsatzTV is with Docker:
```
docker run -d \
-e TZ=America/Chicago \
-p 8989:8989 \
-v /path/to/appdata/config:/root/.local/share/ersatztv \
-v /path/to/shared/media:/path/to/shared/media:ro \
--restart unless-stopped \
jasongdove/ersatztv
```
After running ErsatzTV for the first time, configure it by visiting the web UI at http://[address]:8989.
## Development
See [development documentation](docs/development.md).

Loading…
Cancel
Save