mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 03:07:47 +00:00
Update grafana support
This commit is contained in:
@@ -71,10 +71,13 @@ services:
|
||||
- ./grafana:/etc/grafana
|
||||
ports:
|
||||
- "3001:3000"
|
||||
env_file: .env
|
||||
environment:
|
||||
- GF_INSTALL_PLUGINS=pr0ps-trackmap-panel,fatcloud-windrose-panel
|
||||
- GF_USERS_ALLOW_SIGN_UP=false
|
||||
- GF_SMTP_ENABLED=false
|
||||
- PGSAIL_GRAFANA_URI=db:5432
|
||||
- PGSAIL_GRAFANA_PASSWORD=${PGSAIL_GRAFANA_PASSWORD}
|
||||
depends_on:
|
||||
- db
|
||||
logging:
|
||||
|
@@ -4,7 +4,7 @@ datasources:
|
||||
- name: PostgreSQL
|
||||
isDefault: true
|
||||
type: postgres
|
||||
url: 172.30.0.1:5432
|
||||
url: '${PGSAIL_GRAFANA_URI}'
|
||||
database: signalk
|
||||
user: grafana
|
||||
secureJsonData:
|
||||
|
Reference in New Issue
Block a user