Skip to content

How to deploy with docker #36

Answered by HerbertHe
HerbertHe asked this question in Q&A
Discussion options

You must be logged in to vote

Deploy with docker

docker run --name iptv-sources -p 3000:8080 -d herberthe0229/iptv-sources:latest
  • Run docker ps to get container status.

Wait a minute, visit http://localhost:3000.

Then, you can use http://localhost:3000 instead of https://m3u.ibert.me.

For example: https://m3u.ibert.me/cn.m3u -> http://localhost:3000/cn.m3u

Or, you can also deploy with your own server & domain.

Crontab

Maybe you want to set schedule for auto-updating per 2 hours.

If you have used Environment Variables, maybe you need to modify the script file.

  • Edit you crontab:
crontab -e
  • Press keyboard i

Replies: 2 comments 1 reply

Comment options

HerbertHe
Jan 13, 2024
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by HerbertHe
Comment options

You must be logged in to vote
1 reply
@HerbertHe
Comment options

HerbertHe Apr 15, 2024
Maintainer Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants