Skip to content

How to deploy with docker #36

Answered by HerbertHe
HerbertHe asked this question in Q&A
Jan 13, 2024 · 9 comments · 9 replies
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: 9 comments 9 replies

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

Comment options

You must be logged in to vote
2 replies
@HerbertHe
Comment options

HerbertHe Jul 22, 2024
Maintainer Author

@yanzhang4013
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@HerbertHe
Comment options

HerbertHe Aug 30, 2024
Maintainer Author

@Java2Boy
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@HerbertHe
Comment options

HerbertHe Nov 11, 2024
Maintainer Author

@gavinqd
Comment options

@HerbertHe
Comment options

HerbertHe Nov 21, 2024
Maintainer Author

@gavinqd
Comment options

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