2023-03-20 14:52:43 +00:00
|
|
|
version: "3"
|
|
|
|
|
|
|
|
services:
|
|
|
|
grafana:
|
|
|
|
container_name: grafana
|
2023-06-07 12:56:00 +00:00
|
|
|
image: grafana/grafana-oss:9.5.3
|
2023-03-20 14:52:43 +00:00
|
|
|
ports:
|
|
|
|
- ${APP_PORT}:3000
|
2023-04-24 15:27:25 +00:00
|
|
|
user: "1000"
|
2023-03-20 14:52:43 +00:00
|
|
|
volumes:
|
|
|
|
- ${APP_DATA_DIR}/data/grafana:/var/lib/grafana
|
|
|
|
networks:
|
|
|
|
- tipi_main_network
|
|
|
|
labels:
|
|
|
|
traefik.enable: ${APP_EXPOSED}
|
|
|
|
traefik.http.routers.grafana.rule: Host(`${APP_DOMAIN}`)
|
|
|
|
traefik.http.routers.grafana.entrypoints: websecure
|
|
|
|
traefik.http.routers.grafana.service: grafana
|
|
|
|
traefik.http.routers.grafana.tls.certresolver: myresolver
|
|
|
|
traefik.http.services.grafana.loadbalancer.server.port: 3000
|