Skip to content

erkenes/docker-grafana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Grafana behind Traefik Proxy

This repository provides instructions and configurations for running Grafana behind a Traefik proxy.

Prerequisites

Before you begin, ensure you have the following prerequisites installed and set up:

Installation

  1. Clone this repository to your server:

    git clone https://github.com/erkenes/docker-grafana.git
    cd docker-grafana
  2. Create a .env file and configure your settings. You can use the provided .env.example

    cp .env.example .env
    nano .env
  3. (optional) if you want to secure Node-RED with Authentik, uncomment the middleware line in the docker-compose.yml file

    services:
      grafana:
        labels:
          - 'traefik.http.routers.${PROJECT_IDENTIFIER}.middlewares=middlewares-authentik@file'
  4. Start Grafana

    docker compose up -d

Configuration

  • .env - This file contains the environment variables for the Grafana container. You can change the domain for Grafana by changing the GRAFANA_FQDN variable.

Troubleshooting

If you encounter issues or have questions, please open an issue or refer to the official documentation for Grafana.

License

This project is licensed under the MIT License.

Contributing

Contributions are welcome! If you have any improvements, bug fixes, or feature requests, please open an issue or submit a pull request.

About

Running grafana behind traefik proxy with docker

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published