Skip to content

Commit

Permalink
refactor: update readme to use gluetun
Browse files Browse the repository at this point in the history
  • Loading branch information
segadora committed Nov 1, 2024
1 parent 82e5d57 commit 56f983f
Showing 1 changed file with 9 additions and 36 deletions.
45 changes: 9 additions & 36 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ http://iptvexample.net:1234/15/test/4
```

What M3U proxy IPTV do
- convert chanels url to new endpoints
- convert original m3u file with new routes pointing to internal routes
- convert chanels url to new endpoints
- convert original m3u file with new routes pointing to internal routes

## Docker compose example with nordvpn

Expand All @@ -40,48 +40,21 @@ Health endpoint: `http://127.0.0.1:1323/health`

```yaml
services:
proxy:
image: edgd1er/nordvpn-proxy:latest
restart: unless-stopped
container_name: proxy
ports:
- "1081:1080"
- "8888:8888/tcp"
sysctls:
- net.ipv4.conf.all.rp_filter=2
cap_add:
- NET_ADMIN
environment:
- TZ=Europe/London
- DNS=1.1.1.1@853#cloudflare-dns.com 1.0.0.1@853#cloudflare-dns.com
- NORDVPN_COUNTRY=Germany
- NORDVPN_PROTOCOL=udp
- NORDVPN_CATEGORY=p2p
- EXIT_WHEN_IP_NOTASEXPECTED=1
- WRITE_OVPN_STATUS=0
- LOCAL_NETWORK=192.168.1.0/24
- TINYPORT=8888
- TINY_LOGLEVEL=Error
- DANTE_LOGLEVEL="error connect"
- DANTE_ERRORLOG=/dev/stdout
- CRON_LOGLEVEL=9
- DEBUG=0
secrets:
- NORDVPN_CREDS
volumes:
- ./nordvpn/config/:/config/
# see gluetun https://github.com/qdm12/gluetun
gluetun:
container_name: gluetun
image: qmcgaw/gluetun
# add rest

iptv-proxy:
image: ghcr.io/segadora/iptv-proxy:latest
container_name: "iptv-proxy"
network_mode: service:gluetun # https://github.com/qdm12/gluetun-wiki/blob/main/setup/connect-a-container-to-gluetun.md
restart: on-failure
environment:
HTTP_PROXY: "http://proxy:8888"
HTTPS_PROXY: "http://proxy:8888"
NO_PROXY: "127.0.0.0/8"
IPTV_PLAYLIST: https://xeev.net/get/m3u/xxxxxxxxxxxxxxxxxxxxx
IPTV_EPG: https://xeev.net/get/epg/xxxxxxxxxxxxxxxxxxxxx
depends_on:
proxy:
gluetun:
condition: service_healthy
```

0 comments on commit 56f983f

Please sign in to comment.