6.1 KiB
Docker-EPG
Docker wrapper for the IPTV EPG program
Table of Contents
About The Project
I had a need to run IPTV's EPG in a docker and did not find any holistic solutions readily available to do so. The goal of this project is simply to provide a vessel by which to easily run the EPG with your selected Sites or Channels and expose the guide.xml on an HTTP interface for easy consumption in whatever XML-TV consumer you are using.
Getting Started
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
Installation
-
Build compose.yaml
version: "3.8" services: docker-epg: image: git.donnymims.com/dnny44/docker-epg:latest container_name: docker-epg volumes: - /mnt/data/docker-epg/guides:/epg/guides - /mnt/data/docker-epg/channels:/epg/channels restart: unless-stopped docker-epg-caddy: image: caddy:latest container_name: docker-epg-caddy restart: unless-stopped cap_add: - NET_ADMIN ports: - 9880:80 command: caddy file-server --root /guides/ volumes: - /mnt/data/docker-epg/guides:/guides networks: - caddy_net -
Replace /mnt/data/docker-epg/guides with the path on your host where you want to save your guide.xml. This MUST be the same folder on the host for both the EPG and Caddy containers
-
Replace /mnt/data/docker-epg/guides with the path on your host where you want to save your channels.xml file and make sure that your channels.xml file is located there and formatted as follows:
<?xml version="1.0" encoding="UTF-8"?> <channels> <channel site="arirang.com" lang="en" xmltv_id="ArirangTV.kr" site_id="CH_K">Arirang TV</channel> ... </channels>You can populate his file with the channels from this sites page https://github.com/iptv-org/epg/tree/master/sites
-
When you start the docker stack the EPG container will do a first run to pull your channels and guide information and then it will stay running according to the default Cron scedule "0 3 * * *"
Usage
Use this space to show useful examples of how a project can be used. Additional screenshots, code examples and demos work well in this space. You may also link to more resources.
For more examples, please refer to the Documentation
Roadmap
- Feature 1
- Feature 2
- Feature 3
- Nested Feature
See the open issues for a full list of proposed features (and known issues).
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Contact
Your Name - @twitter_handle - email@email_client.com
Project Link: https://github.com/github_username/repo_name