version: "3" services: grafana: image: grafana/grafana:6.6.2 networks: - openwrt-lan ports: - "3000:3000" env_file: - .env volumes: - "./grafana/provisioning:/etc/grafana/provisioning" - "./grafana/dashboard-openwrt.json:/var/lib/grafana/dashboards/dashboard-openwrt.json" restart: always influxdb: image: influxdb:1.7 networks: - openwrt-lan env_file: - .env volumes: - "./influxdb/influxdb.conf:/etc/influxdb/influxdb.conf" - "./influxdb/types.db:/usr/share/collectd/types.db" - "influxdb:/var/lib/influxdb" restart: always networks: openwrt-lan: external: true volumes: influxdb: