Updated docker compose
This commit is contained in:
@@ -15,7 +15,12 @@ services:
|
||||
- type: volume
|
||||
source: influxdb3-data
|
||||
target: /var/lib/influxdb3
|
||||
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "5"
|
||||
|
||||
grafana:
|
||||
image: grafana/grafana:latest
|
||||
container_name: edx-grafana
|
||||
@@ -26,6 +31,11 @@ services:
|
||||
- grafana-data:/var/lib/grafana
|
||||
depends_on:
|
||||
- influxdb3
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "5"
|
||||
|
||||
upsmon:
|
||||
image: upsmon:influx3
|
||||
@@ -35,6 +45,11 @@ services:
|
||||
- influxdb3
|
||||
devices:
|
||||
- /dev/ttyS0:/dev/ttyS0
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "5"
|
||||
environment:
|
||||
- INTERVAL=5
|
||||
- INFLUXDB_TOKEN=apiv3_tbEpA8JmIRTfr8Wbw9npD79BcMlFsnV4_jhdt-CdUP53Mos61KBODGaggl2g5oKZZvZrZu3e6mpob6zorhEdbg
|
||||
@@ -45,13 +60,18 @@ services:
|
||||
- LOG_FILE=/tmp/upsmon.log
|
||||
- LOG_FILE_LVL=WARNING
|
||||
- LOG_CLI_LVL=INFO
|
||||
|
||||
|
||||
routermon:
|
||||
image: routermon:influx3
|
||||
container_name: edx-routermon
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- influxdb3
|
||||
logging:
|
||||
driver: "json-file"
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "5"
|
||||
environment:
|
||||
- INTERVAL=5
|
||||
- INFLUXDB_TOKEN=apiv3_tbEpA8JmIRTfr8Wbw9npD79BcMlFsnV4_jhdt-CdUP53Mos61KBODGaggl2g5oKZZvZrZu3e6mpob6zorhEdbg
|
||||
@@ -64,6 +84,32 @@ services:
|
||||
- LOG_FILE_LVL=WARNING
|
||||
- LOG_CLI_LVL=INFO
|
||||
|
||||
# unifi-controller:
|
||||
# image: lscr.io/linuxserver/unifi-controller:latest
|
||||
# container_name: edx-unifi
|
||||
# environment:
|
||||
# - PUID=1000
|
||||
# - PGID=1000
|
||||
# - MEM_LIMIT=1024 #optional
|
||||
# - MEM_STARTUP=1024 #optional
|
||||
# volumes:
|
||||
# - /var/lib/unifi:/config
|
||||
# ports:
|
||||
# - 8443:8443
|
||||
# - 3478:3478/udp
|
||||
# - 10001:10001/udp
|
||||
# - 8080:8080
|
||||
# - 1900:1900/udp #optional
|
||||
# - 8843:8843 #optional
|
||||
# - 8880:8880 #optional
|
||||
# - 6789:6789 #optional
|
||||
# - 5514:5514/udp #optional
|
||||
# restart: unless-stopped
|
||||
# logging:
|
||||
# driver: "json-file"
|
||||
# options:
|
||||
# max-size: "10m"
|
||||
# max-file: "5"
|
||||
|
||||
volumes:
|
||||
grafana-data:
|
||||
|
||||
Reference in New Issue
Block a user