Public Repository

Last pushed: 4 months ago
Short Description
Short description is empty for this repo.
Full Description

Environment variables

Port

Setup

Docker-compose

  - INFLUXDB_USERNAME=YOUR_USERNAME
  - INFLUXDB_PASSWORD=YOUR_PASSWORD
  - INFLUXDB_DATABASE=YOUR_DATABASE_NAME
  - INFLUXDB_RETENTION_POLICY=YOUR_RETENTION_POLICY_NAME
  - RABBITMQ_EXCHANGE=EXCHANGE_NAME
  - RABBITMQ_QUEUE=QUEUE_NAME
  - RABBITMQ_GATEWAYID=GATEWAY_ID

Docker-compose file

version: '2'
services:
  reactive-server:
    image: "jluccisano/reactive-server:latest"
    environment:
      - PORT=8084
      - RABBITMQ_ENDPOINT=amqp://rabbit_user:rabbit_password@rabbitmq:5672/myvhost
      - RABBITMQ_EXCHANGE=EXCHANGE_NAME
      - RABBITMQ_QUEUE=your_queue_name
      - RABBITMQ_GATEWAYID=your_gateway_id
      - INFLUXDB_URL=http://influxdb:8086
      - INFLUXDB_USERNAME=influx_username
      - INFLUXDB_PASSWORD=influx_password
      - INFLUXDB_DATABASE=influx_db_name
      - INFLUXDB_RETENTION_POLICY=influx_rp_name
    ports:
      - "8084:8084"
    links:
      - "rabbitmq:rabbitmq"
      - "influx-db:influx-db"
    depends_on:
      - rabbitmq
      - influx-db
  rabbitmq:
    image:  "rabbitmq:3-management"
    hostname: "rabbitmq"
    environment:
      - RABBITMQ_DEFAULT_USER=rabbit_user
      - RABBITMQ_DEFAULT_PASS=rabbit_password
      - RABBITMQ_DEFAULT_VHOST=myvhost
    ports:
     - "5672:5672"
     - "8092:15672"
  influx-db:
    image: "bbinet/influxdb"
    hostname: "influxdb"
    volumes:
      - '/usr/lib/influxdb:/var/lib/influxdb'
    environment:
      - ROOT_PASSWORD=your_root_password
      - PRE_CREATE_DB=influx_db_name
      - PRE_CREATE_USER=influx_username
      - influx_username_PASSWORD=influx_password
      - influx_username_ADMIN=true
      - sensor_influx_username_GRANT=all
    ports:
      - "8083:8083"
      - "8086:8086"
Docker Pull Command
Owner
jluccisano

Comments (0)