• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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