Skip to content

Commit

Permalink
add docker-compose example to README
Browse files Browse the repository at this point in the history
  • Loading branch information
martinbjeldbak committed Aug 31, 2024
1 parent c5f11c5 commit 053548d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Note: ARM-based CPUs are not currently supported, see issues [#5] and [#13].
Ensure you have [Docker](https://www.docker.com) installed and running. You can then pull down and run the container as shown below.

```console
docker run -t -p 6878:6878 martinbjeldbak/acestream-http-proxy
docker run -t -p 6878:6878 ghcr.io/martinbjeldbak/acestream-http-proxy
```

You are then able to access AceStreams by pointing your favorite media player
Expand All @@ -42,6 +42,20 @@ where `dd1e67078381739d14beca697356ab76d49d1a2d` is the ID of the AceStream chan
This image can also be deployed to a server, where it can proxy AceStream
content over HTTP. To able to reach it from remote you need to set ALLOW_REMOTE_ACCESS=yes as environment variable

You can also run it using docker-compose with

```yaml
---
services:
acestream-http-proxy:
image: ghcr.io/martinbjeldbak/acestream-http-proxy
container_name: acestream-http-proxy
ports:
- 6878:6878
```
for an example, see the [docker-compose.yml](./docker-compose.yml) file in this repository.
## Contributing
First of all, thanks!
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
version: '3.9'
---
services:
app:
build: .
ports:
- '6878:6878'
environment:
- ALLOW_REMOTE_ACCESS=no
- ALLOW_REMOTE_ACCESS=no # change to "yes" to allow internet access

0 comments on commit 053548d

Please sign in to comment.