Skip to content

Instantly share code, notes, and snippets.

@NonLogicalDev
Last active March 28, 2020 20:00
Show Gist options
  • Select an option

  • Save NonLogicalDev/2e68f9c50f8958fdac90d01c1ba818ad to your computer and use it in GitHub Desktop.

Select an option

Save NonLogicalDev/2e68f9c50f8958fdac90d01c1ba818ad to your computer and use it in GitHub Desktop.
version: "2"
services:
influxdb:
image: "influxdb"
restart: always
mem_limit: 750m
volumes:
- ./data/influxdb:/var/lib/influxdb
ports:
- 8086:8086
environment:
INFLUXDB_HTTP_FLUX_ENABLED: "true"
INFLUXDB_DATA_WAL_FSYNC_DELAY: 1s
INFLUXDB_LOGGING_LEVEL: "info"
kapacitor:
image: "kapacitor"
restart: always
mem_limit: 600m
volumes:
- ./data/kapacitor:/var/lib/kapacitor
environment:
KAPACITOR_INFLUXDB_0_URLS_0: "http://influxdb:8086"
KAPACITOR_LOGGING_LEVEL: "info"
ports:
- 9092:9092
chronograf:
image: "chronograf"
mem_limit: 200m
restart: always
volumes:
- ./data/chronograf:/var/lib/chronograf
environment:
CHRONOGRAF_LOGGING_LEVEL: "info"
ports:
- "80:8888"
smtlogger:
image: "nonlogical/smt.logger"
restart: always
mem_limit: 100m
environment:
SMT_LISTEN: "0.0.0.0:8888"
SMT_INFLUX_URL: "http://influxdb:8086"
ports:
- "8888:8888"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment