Last active
August 29, 2015 14:20
-
-
Save tywkeene/46df40f0f5ffb19b9c09 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
docker build -f Dockerfile.seed -t influxseed . | |
docker build -f Dockerfile.node -t influxnode . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bind-address = "0.0.0.0" | |
port = 8086 | |
reporting-disabled = false | |
[initialization] | |
join-urls = "http://node0:8086" | |
[authentication] | |
enabled = false | |
[admin] | |
enabled = true | |
port = 8083 | |
[api] | |
bind-address = "" | |
port = 8084 | |
ssl-port = 0 | |
ssl-cert = "" | |
read-timeout = "0" | |
[collectd] | |
bind-address = "" | |
port = 0 | |
database = "" | |
enabled = false | |
typesdb = "" | |
[opentsdb] | |
address = "" | |
port = 0 | |
enabled = false | |
database = "" | |
retention-policy = "" | |
[udp] | |
enabled = false | |
bind-address = "" | |
port = 0 | |
[broker] | |
dir = "/root/.influxdb/broker" | |
enabled = true | |
truncation-interval = "10m0s" | |
max-topic-size = 1073741824 | |
max-segment-size = 10485760 | |
[raft] | |
apply-interval = "10ms" | |
election-timeout = "1s" | |
heartbeat-interval = "100ms" | |
reconnect-timeout = "10ms" | |
[data] | |
dir = "/root/.influxdb/data" | |
enabled = true | |
retention-auto-create = true | |
retention-check-enabled = true | |
retention-check-period = "10m0s" | |
retention-create-period = "45m0s" | |
[snapshot] | |
enabled = true | |
[logging] | |
http-access = true | |
write-tracing = false | |
raft-tracing = false | |
[monitoring] | |
enabled = false | |
write-interval = "1m0s" | |
[debugging] | |
pprof-enabled = false | |
[continuous_queries] | |
recompute-previous-n = 2 | |
recompute-no-older-than = "10m0s" | |
compute-runs-per-interval = 10 | |
compute-no-more-than = "2m0s" | |
disabled = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hostname = "node0" | |
bind-address = "0.0.0.0" | |
port = 8086 | |
reporting-disabled = false | |
[initialization] | |
join-urls = "" | |
[authentication] | |
enabled = false | |
[admin] | |
enabled = true | |
port = 8083 | |
[api] | |
bind-address = "" | |
port = 8084 | |
ssl-port = 0 | |
ssl-cert = "" | |
read-timeout = "0" | |
[collectd] | |
bind-address = "" | |
port = 0 | |
database = "" | |
enabled = false | |
typesdb = "" | |
[opentsdb] | |
address = "" | |
port = 0 | |
enabled = false | |
database = "" | |
retention-policy = "" | |
[udp] | |
enabled = false | |
bind-address = "" | |
port = 0 | |
[broker] | |
dir = "/root/.influxdb/broker" | |
enabled = true | |
truncation-interval = "10m0s" | |
max-topic-size = 1073741824 | |
max-segment-size = 10485760 | |
[raft] | |
apply-interval = "10ms" | |
election-timeout = "1s" | |
heartbeat-interval = "100ms" | |
reconnect-timeout = "10ms" | |
[data] | |
dir = "/root/.influxdb/data" | |
enabled = true | |
retention-auto-create = true | |
retention-check-enabled = true | |
retention-check-period = "10m0s" | |
retention-create-period = "45m0s" | |
[snapshot] | |
enabled = true | |
[logging] | |
http-access = true | |
write-tracing = false | |
raft-tracing = false | |
[monitoring] | |
enabled = false | |
write-interval = "1m0s" | |
[debugging] | |
pprof-enabled = false | |
[continuous_queries] | |
recompute-previous-n = 2 | |
recompute-no-older-than = "10m0s" | |
compute-runs-per-interval = 10 | |
compute-no-more-than = "2m0s" | |
disabled = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node0: | |
hostname: "node0" | |
image: influxseed | |
ports: | |
- "8084:8084" | |
- "8086:8086" | |
node1: | |
hostname: "node1" | |
image: influxnode | |
links: | |
- node0 | |
expose: | |
- "8084" | |
- "8086" | |
node2: | |
hostname: "node2" | |
image: influxnode | |
links: | |
- node0 | |
expose: | |
- "8084" | |
- "8086" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
MAINTAINER Tyrell Keene <tyrell.wkeene@gmail.com> | |
ADD http://get.influxdb.org/influxdb_0.9.0-rc28_amd64.deb influxdb_latest_amd64.deb | |
RUN dpkg -i influxdb_latest_amd64.deb | |
ADD ./config_node.toml /root/config.toml | |
ADD ./start.sh /start.sh | |
EXPOSE 8084 8086 | |
#CMD ["/opt/influxdb/influxd", "-config=/root/config.toml"] | |
CMD ["./start.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu | |
MAINTAINER Tyrell Keene <tyrell.wkeene@gmail.com> | |
ADD http://get.influxdb.org/influxdb_0.9.0-rc28_amd64.deb influxdb_latest_amd64.deb | |
RUN dpkg -i influxdb_latest_amd64.deb | |
ADD ./config_seed.toml /root/config.toml | |
EXPOSE 8084 8086 | |
CMD ["/opt/influxdb/influxd", "-config=/root/config.toml"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
hostname $(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 8 | head -n 1) | |
exec /opt/influxdb/influxd -config=/root/config.toml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment