influxdb-docker

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

influxdb-docker [2021/12/22 11:01] – angelegt Fabian Horstinfluxdb-docker [2021/12/22 11:03] (aktuell) Fabian Horst
Zeile 7: Zeile 7:
     image: influxdb:latest     image: influxdb:latest
     volumes:     volumes:
-      # Mount for influxdb data directory and configuration +      - /docker/influxdb:/var/lib/influxdb2:rw
-      - /Users/anaisdotis-georgiou/temp/influxdb2:/var/lib/influxdb2:rw+
     ports:     ports:
-      - "8086:8086"+      - 8086:8086
   # Use the influx cli to set up an influxdb instance.    # Use the influx cli to set up an influxdb instance. 
   influxdb_cli:   influxdb_cli:
Zeile 18: Zeile 17:
     volumes:     volumes:
       # Mount for influxdb data directory and configuration       # Mount for influxdb data directory and configuration
-      - /Users/anaisdotis-georgiou/temp/influxdb2:/var/lib/influxdb2:rw +      - /docker/influxdb:/var/lib/influxdb2:rw
-      - ./ssl/influxdb-selfsigned.crt:/etc/ssl/influxdb-selfsigned.crt:rw +
-      - ./ssl/influxdb-selfsigned.key:/etc/ssl/influxdb-selfsigned.key:rw+
     environment:      environment: 
        # Use these same configurations parameters in your telegraf configuration, mytelegraf.conf.        # Use these same configurations parameters in your telegraf configuration, mytelegraf.conf.
Zeile 29: Zeile 26:
       - DOCKER_INFLUXDB_INIT_BUCKET=mybucket       - DOCKER_INFLUXDB_INIT_BUCKET=mybucket
       - DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=mytoken       - DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=mytoken
-      - INFLUXD_TLS_CERT=/etc/ssl/influxdb-selfsigned.crt 
-      - INFLUXD_TLS_KEY=/etc/ssl/influxdb-selfsigned.key 
     entrypoint: ["./entrypoint.sh"]     entrypoint: ["./entrypoint.sh"]
     restart: on-failure:10     restart: on-failure:10
     depends_on:     depends_on:
       - influxdb       - influxdb
-  telegraf: +
-    image: telegraf +
-    links: +
-      - influxdb +
-    volumes: +
-      # Mount for telegraf config +
-      - ./telegraf/mytelegraf.conf:/etc/telegraf/telegraf.conf +
-    env_file: +
-      - ./influxv2.env +
-    environment:  +
-      - DOCKER_INFLUXDB_INIT_ORG=myorg +
-      - DOCKER_INFLUXDB_INIT_BUCKET=mybucket +
-      - DOCKER_INFLUXDB_INIT_ADMIN_TOKEN=mytoken +
-    depends_on: +
-      - influxdb_cli+
 volumes: volumes:
-  influxdb2:+  influxdb:
 </code> </code>
  • influxdb-docker.1640167266.txt.gz
  • Zuletzt geändert: 2021/12/22 11:01
  • von Fabian Horst