Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
lux4rd0 authored Jul 19, 2021
1 parent 0411cb7 commit 057e784
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,30 @@ The following file will be generated for you:

#### `docker-compose.yml`

An example of this docker-compose.yml file is included in this repository.

services:
sense-collector:
container_name: sense-collector-72535
environment:
SENSE_COLLECTOR_HOST_HOSTNAME: sense-collector.lux4rd0.com
SENSE_COLLECTOR_INFLUXDB_PASSWORD: none
SENSE_COLLECTOR_INFLUXDB_URL: http://influxdb01.lux4rd0.com:8086/write?db=sense
SENSE_COLLECTOR_INFLUXDB_USERNAME: none
SENSE_COLLECTOR_MONITOR_ID: 72535
SENSE_COLLECTOR_TOKEN: t1.1476.1474.8e6dc77daf22e1fb471d7b942w97e477d1es53bcf2d72
TZ: America/Chicago
image: lux4rd0/sense-collector:latest
restart: always
version: '3.3'

If you don't want to use docker-compose, an example docker run command will be displayed on the screen.

docker run --rm \
--name=sense-collector-72535 \
-e SENSE_COLLECTOR_HOST_HOSTNAME=app02.tylephony.com \
-e SENSE_COLLECTOR_INFLUXDB_PASSWORD=5Q7c7hwQtsZtCrXW \
-e SENSE_COLLECTOR_INFLUXDB_URL=http://influxdb01.tylephony.com:8086/write?db=sense \
-e SENSE_COLLECTOR_INFLUXDB_URL=http://influxdb01.lux4rd0.com:8086/write?db=sense \
-e SENSE_COLLECTOR_INFLUXDB_USERNAME=senseuser \
-e SENSE_COLLECTOR_MONITOR_ID=72535 \
-e SENSE_COLLECTOR_TOKEN=t1.1476.1474.8e6dc77daf22e1fb471d7b942w97e477d1es53bcf2d72 \
Expand Down

0 comments on commit 057e784

Please sign in to comment.