1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
| version: "2"
services:
influxdb: container_name: influxdb image: influxdb:1.7.2 ports: - "8086:8086" - "8083:8083" restart: always volumes: - /data/influxdb:/var/lib/influxdb environment: - "ES_JAVA_OPTS=-Xms2g -Xmx2g" networks: - grafana
grafana: container_name: grafana image: grafana/grafana:5.2.4 user: root ports: - "80:3000" volumes: - /data/grafana:/var/lib/grafana restart: always environment: - GF_AUTH_GOOGLE_ALLOWED_DOMAINS=grafana.costworlds.com -e GF_AUTH_DISABLE_LOGIN_FORM=false -e GF_AUTH_GOOGLE_ENABLED=true -e GF_AUTH_GOOGLE_CLIENT_ID=33574658051-0f9glecg4ujag71t3r2r6i96lc1bdgqe.apps.googleusercontent.com -e GF_AUTH_GOOGLE_CLIENT_SECRET=NNDaKWcBni51U7Ya4uYL6-Ay -e GF_AUTH_GOOGLE_ALLOWED_DOMAINS=gmail.com -e GF_AUTH_GOOGLE_ALLOW_SIGN_UP=true -e GF_EXTERNAL_IMAGE_STORAGE_PROVIDER=gcs -e GF_EXTERNAL_IMAGE_STORAGE_GCS_KEY_FILE=/var/lib/grafana/proven-cosine-207802-ec7a854d7ba9.json -e GF_EXTERNAL_IMAGE_STORAGE_GCS_BUCKET=test-grafana networks: - grafana depends_on: - influxdb
networks: grafana: driver: bridge
|