internet-speed-monitor init
This commit is contained in:
parent
8e85e52d1d
commit
b53a965058
36
internet-speed-monitor/internet-speed-monitor.yml
Normal file
36
internet-speed-monitor/internet-speed-monitor.yml
Normal file
@ -0,0 +1,36 @@
|
||||
version: '3.4'
|
||||
services:
|
||||
ism:
|
||||
image: vonproteus/internet-speed-monitor
|
||||
environment:
|
||||
- INFLUXDATABASENAME=ism
|
||||
deploy:
|
||||
mode: replicated
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
condition: any
|
||||
delay: 31m
|
||||
|
||||
influx:
|
||||
image: influxdb
|
||||
volumes:
|
||||
- data:/var/lib/influxdb
|
||||
environment:
|
||||
- INFLUXDB_WRITE_USER=root
|
||||
- INFLUXDB_WRITE_USER_PASSWORD=toor
|
||||
- INFLUXDB_READ_USER=${DBUSER}
|
||||
- INFLUXDB_READ_USER_PASSWORD=${DBPASS}
|
||||
- INFLUXDB_DB=ism
|
||||
ports:
|
||||
- target: 8086
|
||||
published: ${DBPORT}
|
||||
protocol: tcp
|
||||
mode: host
|
||||
|
||||
volumes:
|
||||
data:
|
||||
|
||||
### Environment variables
|
||||
# DBUSER
|
||||
# DBPASS
|
||||
# DBPORT
|
||||
Loading…
Reference in New Issue
Block a user