version: "3"
services:
  grafana:
    image: grafana/grafana:7.1.5
    networks:
      - influx
    environment:
      GF_SERVER_ROOT_URL: https://grafana.trygvis.io
    ports:
      - "3000:3000"
    volumes:
      - /pool0/ops/grafana:/var/lib/grafana

  idb:
    image: influxdb:1.8.1
    ports:
      - "8086:8086"
    networks:
      - influx
    volumes:
      - /home/trygvis/dev/io.trygvis/infra/docker/birgitte/ops/influxdb.conf:/etc/influxdb/influxdb.conf:ro
      - /pool0/ops/influxdb:/var/lib/influxdb

networks:
  influx: