• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Please beaware of a breaking change in the REST API on the next Plesk release (18.0.62).
    Starting from Plesk Obsidian 18.0.62, requests to REST API containing the Content-Type header with a media-type directive other than “application/json” will result in the HTTP “415 Unsupported Media Type” client error response code. Read more here

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