This shows you the differences between two versions of the page.
— |
app-notes:metric-cloudsetup:influxdb-docker-compose-yaml [2020/11/13 09:29] (current) erdmann created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | <file yaml docker-compose.yml> | ||
+ | version: '3.7' | ||
+ | services: | ||
+ | influxdb: | ||
+ | container_name: influxdb | ||
+ | restart: unless-stopped | ||
+ | image: influxdb:latest | ||
+ | volumes: | ||
+ | - "./influxdb:/var/lib/influxdb" | ||
+ | environment: | ||
+ | INFLUXDB_DB: "NodeREDDatabase" | ||
+ | INFLUXDB_ADMIN_USER: "admin" | ||
+ | INFLUXDB_ADMIN_PASSWORD: "admin-password" | ||
+ | #INFLUXDB_INIT_PWD: "init-password" | ||
+ | #INFLUXDB_BIND_ADDRESS: "influxdb:8088" | ||
+ | #expose: | ||
+ | #- 8086 | ||
+ | #- 8083 | ||
+ | #- 8090 | ||
+ | #networks: | ||
+ | #- proxy | ||
+ | network_mode: host | ||
+ | #networks: | ||
+ | #proxy: | ||
+ | #external: true | ||
+ | </file> |