Commit 29e93c02 by root

add userid

parent c630fb7c
...@@ -7,6 +7,7 @@ services: ...@@ -7,6 +7,7 @@ services:
ports: ports:
- 30081:80 - 30081:80
environment: environment:
USER_ID: ${NEXIIOT_USER_ID}
PROJECT_ID: ${NEXIIOT_PROJECT_ID} PROJECT_ID: ${NEXIIOT_PROJECT_ID}
OAUTH_LOGIN: ${NEXIIOT_OAUTH_LOGIN} OAUTH_LOGIN: ${NEXIIOT_OAUTH_LOGIN}
PASSWORD_LOGIN: ${NEXIIOT_PASSWORD_LOGIN} PASSWORD_LOGIN: ${NEXIIOT_PASSWORD_LOGIN}
...@@ -34,6 +35,7 @@ services: ...@@ -34,6 +35,7 @@ services:
- INFLUXD_REPORTING_DISABLED=false - INFLUXD_REPORTING_DISABLED=false
- INFLUXD_NO_TASKS=false - INFLUXD_NO_TASKS=false
- INFLUXD_METRICS_DISABLED=false - INFLUXD_METRICS_DISABLED=false
# - INFLUXDB_BIND_ADDRESS=http://127.0.0.1:8086/influxdb
volumes: volumes:
- influxdb:/bitnami/influxdb - influxdb:/bitnami/influxdb
...@@ -74,6 +76,8 @@ services: ...@@ -74,6 +76,8 @@ services:
- GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH=${NEXIIOT_GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH} - GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH=${NEXIIOT_GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_PATH}
- GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_STRICT=${NEXIIOT_GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_STRICT} - GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_STRICT=${NEXIIOT_GF_AUTH_GENERIC_OAUTH_ROLE_ATTRIBUTE_STRICT}
- GF_AUTH_GENERIC_OAUTH_REQUIRED_ROLE=${NEXIIOT_GF_AUTH_GENERIC_OAUTH_REQUIRED_ROLE} - GF_AUTH_GENERIC_OAUTH_REQUIRED_ROLE=${NEXIIOT_GF_AUTH_GENERIC_OAUTH_REQUIRED_ROLE}
- GF_SERVER_serve_from_sub_path = true
volumes: volumes:
- grafana_data:/opt/bitnami/grafana/data - grafana_data:/opt/bitnami/grafana/data
- ./grafana/datasources:/opt/bitnami/grafana/conf/provisioning/datasources/ - ./grafana/datasources:/opt/bitnami/grafana/conf/provisioning/datasources/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment