Skip to content

How to configure Grafana without grafana.ini in Synology NAS setup? #20

@TKASAKAWA

Description

@TKASAKAWA

Hi @alhazmy13,

I'm using your alhazmy13/telegraf-influxdb-grafana image on a Synology NAS (DSM 7.2-72806). Initially, I set it up using Docker, but now Grafana is running as a native installation (PID: 22932, port: 3003). The process indicates it's using /etc/grafana/grafana.ini (/usr/sbin/grafana-server --config=/etc/grafana/grafana.ini), but I cannot find this file when searching the system.

I'm facing a port conflict when setting up a reverse proxy (HTTPS:3003 → HTTP:3003) in DSM's "Login Portal" → "Reverse Proxy" because Grafana is already listening on port 3003. Additionally, Grafana does not appear in DSM's "Services" list.

My questions are:

  1. If Grafana is compiled without using grafana.ini, how can I configure settings (e.g., change the port to 3004, enable HTTPS) using environment variables or command-line arguments?
  2. What is the recommended way to resolve the port conflict and enable HTTPS on Synology NAS?
  3. How can I ensure Grafana appears in DSM's "Services" list?

Any advice on safely configuring this setup would be greatly appreciated. Thank you!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions