Select Git revision
grafana.yml
-
Jan David Mol authored
L2SS-466: Introduce separate LOG_HOSTNAME to send logs to, representing the HOSTNAME as resolvable from the host (instead of the containers or the clients)
Jan David Mol authoredL2SS-466: Introduce separate LOG_HOSTNAME to send logs to, representing the HOSTNAME as resolvable from the host (instead of the containers or the clients)
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
grafana.yml 616 B
#
# Docker compose file that launches Grafana
#
# Defines:
# - grafana: Grafana
#
version: '2'
#volumes:
# grafana-data: {}
# grafana-configs: {}
services:
grafana:
image: grafana
build:
context: grafana
container_name: ${CONTAINER_NAME_PREFIX}grafana
networks:
- control
#volumes:
# - grafana-data:/var/lib/grafana
# - grafana-configs:/etc/grafana
ports:
- "3000:3000"
logging:
driver: syslog
options:
syslog-address: udp://${LOG_HOSTNAME}:1514
syslog-format: rfc3164
tag: "{{.Name}}"
restart: unless-stopped