blob: 5da016414401a468fe74e9f4ce054fbcbad815ac [file] [log] [blame]
parameters:
_param:
grafana_database_type: sqlite3
grafana_database_host: localhost
grafana_database_port: 3306
grafana_database_password: password
docker:
client:
service:
grafana_server:
replica: 1
environment:
GF_DATABASE_TYPE: ${_param:grafana_database_type}
GF_DATABASE_NAME: grafana
GF_DATABASE_USER: grafana
GF_DATABASE_PASSWORD: ${_param:grafana_database_password}
GF_DATABASE_HOST: "${_param:grafana_database_host}:${_param:grafana_database_port}"
GF_SECURITY_ADMIN_PASSWORD: ${_param:grafana_admin_password}
restart:
condition: any
image: ${_param:docker_image_grafana}
ports:
- 15013:3000