Skip to content

Commit

Permalink
fix: README
Browse files Browse the repository at this point in the history
Signed-off-by: Lachezar Lechev <[email protected]>
  • Loading branch information
elpiel committed Jun 28, 2023
1 parent 8b687d3 commit 556f079
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
# The Stremio streaming Server Docker image
[![Docker Image Version (latest semver)](https://img.shields.io/docker/v/stremio/server?label=stremio%2Fserver%3Alatest)](https://hub.docker.com/r/stremio/server)

## Run the image

`docker run --rm -d -p 11470:11470 -p 12470:12470 stremio/server:latest`

If you're running `stremio-web` locally then you should disable CORS on the server by passing `NO_CORS=1` to the env. variables:

`docker run --rm -d -p 11470:11470 -p 12470:12470 stremio/server:latest`
`docker run --rm -d -p 11470:11470 -p 12470:12470 -e NO_CORS=1 stremio/server:latest`

Available ports:
- 11470 - http
Expand All @@ -22,8 +23,6 @@ Env. variables:

`NO_CORS` - if set to any value it will disable the CORS checks on the server.

[![Docker Image Version (latest semver)](https://img.shields.io/docker/v/stremio/server?label=stremio%2Fserver%3Alatest)](https://hub.docker.com/r/stremio/server)

## Build image

Docker image can be easily built using the included [`Dockerfile`](./Dockerfile).
Expand Down

0 comments on commit 556f079

Please sign in to comment.