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