mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-21 10:09:07 +00:00
Merge pull request #2926 from gianarb/feature/influxdb-os
Added InfluxDB OS an example
This commit is contained in:
commit
c1e464f0f8
48
examples/influxdb-os.yml
Normal file
48
examples/influxdb-os.yml
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
kernel:
|
||||||
|
image: linuxkit/kernel:4.14.21
|
||||||
|
cmdline: "console=tty0 console=ttyS0 console=ttyAMA0"
|
||||||
|
init:
|
||||||
|
- linuxkit/init:d899eee3560a40aa3b4bdd67b3bb82703714b2b9
|
||||||
|
- linuxkit/runc:7c39a68490a12cde830e1922f171c451fb08e731
|
||||||
|
- linuxkit/containerd:37e397ebfc6bd5d8e18695b121166ffd0cbfd9f0
|
||||||
|
- linuxkit/ca-certificates:v0.2
|
||||||
|
onboot:
|
||||||
|
- name: dhcpcd
|
||||||
|
image: linuxkit/dhcpcd:v0.2
|
||||||
|
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
|
||||||
|
services:
|
||||||
|
- name: getty
|
||||||
|
image: linuxkit/getty:v0.2
|
||||||
|
env:
|
||||||
|
- INSECURE=true
|
||||||
|
- name: influxdb
|
||||||
|
image: influxdb:1.4
|
||||||
|
net: host
|
||||||
|
capabilities:
|
||||||
|
- CAP_NET_BIND_SERVICE
|
||||||
|
- CAP_DAC_OVERRIDE
|
||||||
|
- name: kapacitor
|
||||||
|
image: kapacitor:1.4
|
||||||
|
net: host
|
||||||
|
capabilities:
|
||||||
|
- all
|
||||||
|
env:
|
||||||
|
- KAPACITOR_INFLUXDB_0_URLS_0=http://influxdb:8086
|
||||||
|
- name: telegraf
|
||||||
|
image: telegraf:1.4
|
||||||
|
net: host
|
||||||
|
capabilities:
|
||||||
|
- all
|
||||||
|
- name: chronograf
|
||||||
|
image: chronograf:1.4
|
||||||
|
net: host
|
||||||
|
capabilities:
|
||||||
|
- CAP_NET_BIND_SERVICE
|
||||||
|
- CAP_DAC_OVERRIDE
|
||||||
|
env:
|
||||||
|
- INFLUXDB_URL=http://localhost:8086
|
||||||
|
- KAPACITOR_URL=http://localhost:9092
|
||||||
|
trust:
|
||||||
|
org:
|
||||||
|
- linuxkit
|
||||||
|
- library
|
Loading…
Reference in New Issue
Block a user