• 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!
  • 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.

Question Using Granafa with or without docker?

andreios

Regular Pleskian
Server operating system version
Ubuntu 22.04
Plesk version and microupdate number
18.0.61 #1
I want to use Grafana to display a large PostgreSQL database. Can I use Grafana from the repository of mys system? I noticed that Grafana is used by Plesk, I have uninstalled the Grafana extension, but Grafana is still running on the system.
grafana/now 10.1.5 amd64 [Installiert,lokal]
systemctl status grafana-server.service
● grafana-server.service - Grafana instance
Loaded: loaded (/lib/systemd/system/grafana-server.service; enabled; vendor preset: enabled)
Active: active (running)

netstat -tunlp | grep 3000
tcp6 0 0 :::3000 :::* LISTEN 654887/grafana
 
When I try to use Grafana in a docker container, the only thing I get is: gateway time-out.
I wonder why the container says "Port-Mapping: 3000 to 32780"? Why 3000, when this is what the system Grafana is using?
grep 3000 /etc/grafana/*
/etc/grafana/grafana.ini:;http_port = 3000
 
Grafana is running, just reinstalled the image.
How to connect from the container to localhost? host.docker.internal is not working.
 
I couldn't find a way to connect from the container to localhost. There must be a way, found nothing about in the plesk support articles. There is an article about starting a container in localhost, but I want to do it, manged by plesk.
 
Back
Top