• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue Installing Owncast via Docker - Ports not exposed

Spanner_Man

New Pleskian
Hello,
What I am trying to do is to get Owncast running via a docker container within Plesk, and to use the Docker Proxy rules.

I've open an issue over on their github ( link ) but it seems what I assumed to be the issue isn't in fact the problem - that being their expose in a single line is what causes Plesk to bork out.

I grabbed the needed image via git clone https://github.com/owncast/owncast, changed the Dockerfile so that each EXPOSE is on its own seperate line and built the image with docker build --build-arg NAME=docker --build-arg VERSION=mytest -t my-plesk-owncast-test .

But alas, even doing that the Docker Extension fails to read the exposed ports even defined in the above mentioned edited Dockerfile

The logs clearly show both the original stock image plus the image with the modified Dockerfile both run correctly;

time="2021-10-09T23:40:09Z" level=info msg="Owncast vmytest-docker (20211009)"
time="2021-10-09T23:40:09Z" level=info msg="Video transcoder started using x264 with 1 stream variants."
time="2021-10-09T23:40:10Z" level=info msg="RTMP is accepting inbound streams on port 1935."
time="2021-10-09T23:40:10Z" level=info msg="Web server is listening on IP 0.0.0.0 port 8080."
time="2021-10-09T23:40:10Z" level=info msg="The web admin interface is available at /admin."
I already know about Unable to add Docker Proxy rules in Plesk, no container is displayed but as you can see even from their stock standard Dockerfile as well as the one with each EXPOSE on a seperate line ( as done here as well ).that is not the case - as both clearly have expose defined.

I am now at a loss as to what the actual issue is, or if in fact Plesk Docker Extension has some weird non standard rules to follow or whatnot that aren't standard to docker.
 
OS: Ubuntu 20.04.5 LTS
Product: Plesk Obsidian 18.0.46

I have the same problem.
When trying to run the owncast image (0.0.12) in the Plesk docker extension no manual port mapping is possible (ports 8080 and 1395).
I tried:
1. Rebuilding the image as mentioned by Spanner_Man and moving/changing the EXPOSE variable - but the Plesk extension cannot identify the ports.
2. I ran the normal image at the command line with the ports mapped and it started (docker run -d --name owncast -v /mnt/owncast_data:/app/data -m 1024m -p 8080:8080 -p 1935:1935 -it gabekangas/owncast:latest) and then I could also see the port parameters in the Plesk docker extension, start and stop the container. However, I cannot see the logs from the extension - only from the command line.

When I then try and reach the owncast server from a subdomain (owncast.mydomain.com) after adding 8080 to nginx at the owncast.mydomain.com root (NOT at owncast.mydomain.com/XXXX) I get an error. However, when I preview the site I see the owncast logo.

Does anyone have a solution to this problem?

Sincerely
 
Update
Regarding the last part of my previous post - the issue was, as usual, DNS. After the subdomain resolved correctly the owncast server became accessible.

So it seems that you can force the manual port mapping to show up in Plesk if you run the container at the command line first with the stock image and the ports parameters set.
 
Back
Top