crontab-ui icon indicating copy to clipboard operation
crontab-ui copied to clipboard

Is it possible to run crontab-ui inside a docker container and be accessible from anywhere in network?

Open Jeff534 opened this issue 2 years ago • 2 comments

I tried the following command, however it complained the host and port number not accessible. HOST=[VM PUBLIC IP] PORT=9000 crontab-ui

I also mapped the port in docker compose file with no luck: ports: - "9000:9000"

Crontab-ui works in VM level, but I'm wondering if I can move it to a docker container.

Thanks!

Jeff

Jeff534 avatar Nov 15 '22 18:11 Jeff534

I believe you need to map it to "0.0.0.0:hostport:containerport", in your case "0.0.0.0:9000:9000", where 0.0.0.0 stands for "listen on all network interfaces, not just the docker host machine's internal network; At least that's how I made it work. Cheers!

TruckerZer0 avatar Dec 20 '22 00:12 TruckerZer0

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Dec 20 '23 01:12 stale[bot]