Fix env interpolation for old compose versions
This commit is contained in:
parent
d4619fff09
commit
1dc6ae53b3
@ -9,10 +9,10 @@ services:
|
||||
- ./templates:/templates
|
||||
- ./config:/config
|
||||
environment:
|
||||
- TARGETS=${TARGETS:?err}
|
||||
- ALERT_EMAIL_TO=${ALERT_EMAIL_TO:?err}
|
||||
- ALERT_EMAIL_FROM=${ALERT_EMAIL_FROM:?err}
|
||||
- ALERT_SMTP_HOST=${ALERT_SMTP_HOST:?err}
|
||||
- ALERT_SMTP_USER=${ALERT_SMTP_USER:?err}
|
||||
- ALERT_SMTP_PASSWORD=${ALERT_SMTP_PASSWORD:?err}
|
||||
- ALERT_SLACK_WEBHOOK=${ALERT_SLACK_WEBHOOK:?err}
|
||||
- TARGETS=${TARGETS}
|
||||
- ALERT_EMAIL_TO=${ALERT_EMAIL_TO}
|
||||
- ALERT_EMAIL_FROM=${ALERT_EMAIL_FROM}
|
||||
- ALERT_SMTP_HOST=${ALERT_SMTP_HOST}
|
||||
- ALERT_SMTP_USER=${ALERT_SMTP_USER}
|
||||
- ALERT_SMTP_PASSWORD=${ALERT_SMTP_PASSWORD}
|
||||
- ALERT_SLACK_WEBHOOK=${ALERT_SLACK_WEBHOOK}
|
||||
|
@ -52,8 +52,8 @@ services:
|
||||
- grafana_data:/var/lib/grafana
|
||||
- ./config/grafana/provisioning:/etc/grafana/provisioning
|
||||
environment:
|
||||
- GF_SECURITY_ADMIN_USER=${GRAFANA_USER:?err}
|
||||
- GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_PASSWORD:?err}
|
||||
- GF_SECURITY_ADMIN_USER=${GRAFANA_USER}
|
||||
- GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_PASSWORD}
|
||||
- GF_USERS_ALLOW_SIGN_UP=false
|
||||
ports:
|
||||
- 3000:3000
|
||||
|
Loading…
Reference in New Issue
Block a user