mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-08 14:57:54 +00:00
Add basic InfluxDB reporter
This commit is contained in:
parent
2d58705e85
commit
02b41413b3
7 changed files with 125 additions and 6 deletions
|
|
@ -5,10 +5,13 @@ services:
|
|||
entrypoint: ["dotnet", "run", "--project", "PluralKit.Bot"]
|
||||
environment:
|
||||
- "PluralKit:Database=Host=db;Username=postgres;Password=postgres;Database=postgres"
|
||||
- "PluralKit:InfluxUrl=http://influx:8086"
|
||||
- "PluralKit:InfluxDb=pluralkit
|
||||
volumes:
|
||||
- "./pluralkit.conf:/app/pluralkit.conf:ro"
|
||||
links:
|
||||
- db
|
||||
- influx
|
||||
restart: always
|
||||
web:
|
||||
build: .
|
||||
|
|
@ -35,6 +38,14 @@ services:
|
|||
volumes:
|
||||
- "db_data:/var/lib/postgresql/data"
|
||||
restart: always
|
||||
influx:
|
||||
image: influxdb:alpine
|
||||
volumes:
|
||||
- "influx_data:/var/lib/influxdb"
|
||||
ports:
|
||||
- 2839:8086
|
||||
restart: always
|
||||
|
||||
volumes:
|
||||
db_data:
|
||||
db_data:
|
||||
influx_data:
|
||||
Loading…
Add table
Add a link
Reference in a new issue