2014-08-05 20:17:40 +00:00
|
|
|
(from "ubuntu:14.04")
|
|
|
|
(run "apt-get update && apt-get install wget -y")
|
|
|
|
(run "wget http://s3.amazonaws.com/influxdb/influxdb_latest_amd64.deb")
|
|
|
|
(run "dpkg -i influxdb_latest_amd64.deb")
|
|
|
|
(run "rm -r /opt/influxdb/shared")
|
|
|
|
(volume "/opt/influxdb/shared")
|
|
|
|
(cmd "/usr/bin/influxdb --pidfile /var/run/influxdb.pid -config /opt/influxdb/shared/config.toml")
|
|
|
|
(expose "8083")
|
|
|
|
(expose "8086")
|
|
|
|
(expose "8090")
|
2014-08-29 19:49:16 +00:00
|
|
|
(expose "8099")
|