Closed Thomas-O closed 2 years ago
Hey @Thomas-O, you need to change the publish port. In docker you would see something like -p 5000:8080
. This means the application inside docker is listening on port 8080 while you localhost/docker is listening on port 5000. Docker internally redirects the request that arrives on localhost:5000 (or any other IP address that your machine has) to port 8080.
So to have podgrab listening on a different port you need to change the publish port. For example to have podgrab listen on port 7000 you would run this command
docker run -d -p 7000:8080 --name=podgrab -v "/host/path/to/assets:/assets" \
-v "/host/path/to/config:/config" akhilrex/podgrab
or docker compose file
version: "2.1"
services:
podgrab:
image: akhilrex/podgrab
container_name: podgrab
environment:
- CHECK_FREQUENCY=240
# - PASSWORD=password ## Uncomment to enable basic authentication, username = podgrab
volumes:
- /path/to/config:/config
- /path/to/data:/assets
ports:
- 7000:8080
restart: unless-stopped
No you can visit http://
Feel free to ask if you have questions. Muse
Hey @Thomas-O, you just need to change the publish port. In docker you would see something like this
-p 5000:8080
. This means the application inside docker is listening on port 8080 while you localhost/docker is listening on port 5000. Docker internally will redirect the request that arrives on localhost:5000 (or any other IP address that your machine has) to port 8080.
Thanks for the super-quick advice.
If I understand correctly, would this be OK?: docker run -d -p 8081:8080 --name=podgrab
Absolutely. Podgrab will be available on port 8081
( Sorry I hit enter before I finished writing a reply )
Thanks. I'll give it a whirl and report back. Thanks for helping.
It worked. I'd thought about buying another Raspberry Pi to host Podgrab. As a way of saying thank you I'll donate some of the cash I've saved to UNICEF or to the Ukraine fund. Which would you prefer?
You would be lucky to get a Raspberry Pi at this time. I have been trying to get CM4 for months now.
If you're planning to donate please consider donating to the people of Tigray. They have been closed off from the outside world for almost 2 years and are very much in need of support.
Thank you very much. P.s Mark this issue as solved/closed.
This thread made me happy.
On Sat, 2 Jul 2022, 5:27 pm Thomas-O, @.***> wrote:
Closed #222 https://github.com/akhilrex/podgrab/issues/222 as completed.
— Reply to this email directly, view it on GitHub https://github.com/akhilrex/podgrab/issues/222#event-6922093843, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEMVPVUQ7VYKTYU5U35DP3VSAVDTANCNFSM52O44F3A . You are receiving this because you are subscribed to this thread.Message ID: @.***>
I have another server on port 8080. Please could you tell me how to install Podgrab (via Docker) so that it uses another port?
Or perhaps point me to some appropriate general guidance.
Thanks for your help
Thomas