mirror of
https://github.com/pierre-emmanuelJ/iptv-proxy.git
synced 2026-03-16 01:16:03 +01:00
Add docker compose and dockerfile
Signed-off-by: Pierre-Emmanuel Jacquier <pierre-emmanuel.jacquier@epitech.eu>
This commit is contained in:
24
docker-compose.yml
Normal file
24
docker-compose.yml
Normal file
@@ -0,0 +1,24 @@
|
||||
version: "3"
|
||||
services:
|
||||
iptv-proxy:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
volumes:
|
||||
# If your are using local m3u file instead of m3u remote file
|
||||
# put your m3u file in this folder
|
||||
- ./iptv:/root/iptv
|
||||
container_name: "iptv-proxy"
|
||||
restart: on-failure
|
||||
# have to be the same as ENV variable PORT
|
||||
ports:
|
||||
- 8080:8080
|
||||
environment:
|
||||
# if you are using m3u remote file
|
||||
# M3U_URL: https://example.com/iptvfile.m3u
|
||||
M3U_URL: /root/iptv/iptv.m3u
|
||||
# Port to expose the IPTVs endpoints
|
||||
PORT: 8080
|
||||
# Hostname or IP to expose the IPTVs endpoints (for machine not for docker)
|
||||
HOSTNAME: localhost
|
||||
|
||||
Reference in New Issue
Block a user