Compare commits

...

7 Commits
1.0.0 ... 1.0.3

Author SHA1 Message Date
6c8efd06c6 update versions in readme
All checks were successful
Build docker container / build (push) Successful in 10m33s
2024-09-16 08:40:42 +02:00
d197c843ee update versions in readme
All checks were successful
Build docker container / build (push) Successful in 8m18s
2024-09-09 14:15:37 +02:00
745b49d0e8 include versioning
All checks were successful
Build docker container / build (push) Successful in 8m45s
2024-08-26 16:34:46 +02:00
d4bed497a5 update readme 2024-08-05 09:20:04 +02:00
586db42d37 update readme 2024-08-05 09:18:16 +02:00
4cbba7691e update readme 2024-08-05 09:12:50 +02:00
4abff2f56a add condition to docker build 2024-08-05 08:45:23 +02:00
3 changed files with 48 additions and 2 deletions

View File

@ -1,5 +1,8 @@
name: 'Build docker container' name: 'Build docker container'
on: [push] on:
push:
tags:
- '*'
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -1,5 +1,8 @@
name: 'Build docker container' name: 'Build docker container'
on: [push] on:
push:
tags:
- '*'
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@ -3,17 +3,28 @@
This repo builds and Docker image of [iptv-org/epg](https://github.com/iptv-org/epg). This repo builds and Docker image of [iptv-org/epg](https://github.com/iptv-org/epg).
The purpose is to make the deployment easier and more suitable for different environments. 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.<br>
A public mirror is available at https://github.com/davidclaeysquinones/epg-info-docker.
## Dependencies ## Dependencies
[Node](https://nodejs.org/en)<br> [Node](https://nodejs.org/en)<br>
[pm2](https://www.npmjs.com/package/pm2)<br> [pm2](https://www.npmjs.com/package/pm2)<br>
[serve](https://www.npmjs.com/package/serve)<br> [serve](https://www.npmjs.com/package/serve)<br>
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.
## Docker image ## Docker image
### Paths ### Paths
An example `channels.xml` is included by default in the image.<br> An example `channels.xml` is included by default in the image.<br>
```xml
<?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.<br> However if you want to configure your own channels you need to provide your own configuration file.<br>
You can do this by creating a mapping in the `/config` folder. You can do this by creating a mapping in the `/config` folder.
@ -25,3 +36,32 @@ You can do this by creating a mapping in the `/config` folder.
| DAYS | Describes the desired amount of days in the future for for epg retrieval. | 14 | | 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 | | MAX_CONNECTIONS | The maximum amount of parallel connections that can be established | 10 |
### Compose file
```sh
version: '3.3'
services:
epg:
image: git.claeyscloud.com/david/epg-info:latest
#image: image: git.claeyscloud.com/david/epg-info:latest: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
restart: unless-stopped
```
### Versions
- 1.0.0
[08-01-2024](https://github.com/iptv-org/epg/commit/793c74ca397504fc2afc8fbfa998e0b8e4ca45d9)
- 1.0.1
[08-14-2024](https://github.com/iptv-org/epg/commit/270e85cfae6f0f691c2e6ab7ce511d60fd687565)
- 1.0.2
[09-07-2024](https://github.com/iptv-org/epg/commit/4e3b06a86e225cdd1b9362a683e6770fb68ff28f)
- 1.0.3
[09-14-2024](https://github.com/iptv-org/epg/commit/c69f3c93b1123ddf0fecc62c7067fced59ae4e99)