add exported compose files
This commit is contained in:
48
docker/compose/grafana.yml
Normal file
48
docker/compose/grafana.yml
Normal file
@ -0,0 +1,48 @@
|
||||
---
|
||||
|
||||
version: "3.8"
|
||||
services:
|
||||
grafana:
|
||||
image: grafana/grafana
|
||||
container_name: grafana
|
||||
restart: always
|
||||
ports:
|
||||
- 3501:3000
|
||||
volumes:
|
||||
- grafana_volume:/var/lib/grafana
|
||||
|
||||
influxdb:
|
||||
image: influxdb
|
||||
container_name: influxdb
|
||||
restart: always
|
||||
ports:
|
||||
- 3500:8086
|
||||
volumes:
|
||||
- influxdb_volume:/var/lib/influxdb
|
||||
|
||||
influxdb-pfsense:
|
||||
image: influxdb:1.8.3-alpine
|
||||
container_name: influxdb-pfsense
|
||||
hostname: influxdb-pfsense
|
||||
ports:
|
||||
- 2003:2003
|
||||
- 3502:8086
|
||||
environment:
|
||||
INFLUXDB_DATA_QUERY_LOG_ENABLED: "false"
|
||||
INFLUXDB_REPORTING_DISABLED: "true"
|
||||
INFLUXDB_HTTP_AUTH_ENABLED: "true"
|
||||
INFLUXDB_ADMIN_USER: $DB_ADMIN_USER
|
||||
INFLUXDB_ADMIN_PASSWORD: $DB_ADMIN_PASSWORD
|
||||
INFLUXDB_USER: $DB_USER
|
||||
INFLUXDB_USER_PASSWORD: $DB_USER_PASSWORD
|
||||
INFLUXDB_DB: $DB_NAME
|
||||
volumes:
|
||||
- influxdb_pfsense_volume:/var/lib/influxdb
|
||||
|
||||
volumes:
|
||||
grafana_volume:
|
||||
driver: local
|
||||
influxdb_volume:
|
||||
driver: local
|
||||
influxdb_pfsense_volume:
|
||||
driver: local
|
Reference in New Issue
Block a user