• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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