docker-ovh/grafana/Dockerfile

20 lines
614 B
Docker
Raw Normal View History

FROM grafana/grafana:7.4.3
2020-02-02 23:55:37 +01:00
ENV GF_SERVER_ROOT_URL=https://grafana.auro.re
ENV GF_SESSION_COOKIE_SECURE=true
ENV GF_ANALYTICS_REPORTING_ENABLED=false
ENV GF_SNAPSHOTS_EXTERNAL_ENABLED=false
ENV GF_USERS_ALLOW_SIGN_UP=false
ENV GF_USERS_ALLOW_ORG_CREATE=false
ENV GF_AUTH_BASIC_ENABLED=false
ENV GF_AUTH_LDAP_ENABLED=true
ENV GF_AUTH_LDAP_CONFIG_FILE=/etc/grafana/ldap.toml
ENV GF_DATABASE_TYPE=postgres
ENV GF_DATABASE_HOST=10.128.0.96
ENV GF_DATABASE_USER=grafana
ENV GF_DATABASE_NAME=grafana
ENV GF_SECURITY_DISABLE_INITIAL_ADMIN_CREATION=true
ENV GF_DISABLE_GRAVATAR=true
2020-02-02 23:55:37 +01:00
COPY ldap.toml /etc/grafana/ldap.toml