This repo builds and Docker image of iptv-org/epg. The purpose is to make the deployment easier and more suitable for different environments.
The original repository of this image is hosted on https://git.claeyscloud.com/david/epg-info-docker.
A public mirror is available at https://github.com/davidclaeysquinones/epg-info-docker.
The image is based on node:21-alpine
in order to be more lightweight.
The pm2
and serve
packages are used in order to run the application in the container.
An example channels.xml
is included by default in the image.
<?xml version="1.0" encoding="UTF-8"?>
<channels>
<channel site="movistarplus.es" lang="es" xmltv_id="24Horas.es" site_id="24H">24 Horas</channel>
...
</channels>
However if you want to configure your own channels you need to provide your own configuration file.
You can do this by creating a mapping in the /config
folder.
Through the ENABLE_FIXES
variable custom provider fixes can be applied to the container.
By default some fixes are available. These fixes have been validated before being added to this repo.
However this option is disabled by default since you might only want to run the unmodified source.
If you have suggestions or a problem with them please submit an issue.
This the list of the provided custom fixes :
Provider | Author | Status |
---|---|---|
movistarplus.es | davidclaeysquinones | PR pending approval |
pickx.be | davidclaeysquinones | PR pending approval |
telenet.tv | davidclaeysquinones | PR merged since commit fd382db |
web.magentatv.de | klausellus-wallace | PR pending approval |
If for some reason you want to include your own provider fixes this is possible by creation a mapping in the /fixes
folder.
The expected structure is /fixes/provider_name
/provider_name
.config.js.
It is recommended that you take existing provider code as a base for your customisations.
Variable | Description | Default |
---|---|---|
CRON_SCHEDULE | CRON expression describing the recurrence for epg retrieval. | 0 0,12 * * * |
DAYS | Describes the desired amount of days in the future for for epg retrieval. | 14 |
MAX_CONNECTIONS | The maximum amount of parallel connections that can be established | 10 |
ENABLE_FIXES | Some fixes to providers take a long time to be merged into the main branch. When this option is enabled some of these fixes will also be included. The source code for these fixes can be seen under the fixes folder.Recreate the container when changing this variable in order for it to take effect |
false |
version: '3.3'
services:
epg:
image: git.claeyscloud.com/david/epg-info:latest
#image: ghcr.io/davidclaeysquinones/epg-info:latest
#image: davidquinonescl/epg-info:latest
volumes:
# add a mapping in order to add the channels file
- /docker/epg:/config
ports:
- 6080:3000
environment:
# specify the time zone for the server
- TZ=Etc/UTC
# uncomment the underlying line if you want to enable custom fixes
#- ENABLE_FIXES=true
restart: unless-stopped
This image is bound to the content of the iptv-org/epg repository. In the underlying list you can see to which commit each version of the docker image is bound.
Normally when a change is made in the source repository the documentation is updated and a new tag is created in this repository. This is completely normal since the source repository is only cloned during the build process of the docker image.
Sometimes a new version of this image will be bound to the same source commit. This will happen when improvements are made to the image.
- 1.0.0 08-01-2024
- 1.0.1 08-14-2024
- 1.0.2 09-07-2024
- 1.0.3 09-14-2024
- 1.0.4 09-30-2024
- 1.0.5 10-02-2024
- 1.0.6
10-02-2024
Adds possibility to enable custom fixes - 1.0.7
10-02-2024
Adds improvement to the docker image size - 1.0.8 10-10-2024
- 1.0.9 10-12-2024
- 1.0.10 10-14-2024 12:50
- 1.0.11 10-14-2024 17:34
- 1.0.12
10-14-2024
Fix Pickx.be url - 1.0.13
10-14-2024
Add custom fix for web.magentatv.de