From 4cbba7691e817753519abddb71a4cf3c1452d22c Mon Sep 17 00:00:00 2001 From: David Claeys Date: Mon, 5 Aug 2024 09:12:50 +0200 Subject: [PATCH] update readme --- README.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/README.md b/README.md index ddbf04c..5e888ca 100644 --- a/README.md +++ b/README.md @@ -3,17 +3,28 @@ 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 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. ## Dependencies [Node](https://nodejs.org/en)
[pm2](https://www.npmjs.com/package/pm2)
[serve](https://www.npmjs.com/package/serve)
+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 ### Paths An example `channels.xml` is included by default in the image.
+```xml + + + 24 Horas + ... + +``` 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. @@ -25,3 +36,21 @@ 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 | | 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: + - 6060:3000 + environment: + # specify the time zone for the server + - TZ=Etc/UTC + restart: unless-stopped +``` \ No newline at end of file