Add the docker compose file
This commit is contained in:
parent
a6749a22b5
commit
1366473f51
1 changed files with 26 additions and 0 deletions
26
backend/docker-compose.yml
Normal file
26
backend/docker-compose.yml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
grafana:
|
||||||
|
restart: always
|
||||||
|
image: grafana/grafana
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:8087:3000"
|
||||||
|
links:
|
||||||
|
- influxdb
|
||||||
|
volumes:
|
||||||
|
- ./db/grafana:/var/lib/grafana
|
||||||
|
environment:
|
||||||
|
GF_SERVER_ROOT_URL: https://grafana.okoyono.de/
|
||||||
|
GF_SECURITY_ADMIN_PASSWORD: xxx
|
||||||
|
GF_SMTP_ENABLED: "false"
|
||||||
|
|
||||||
|
influxdb:
|
||||||
|
image: influxdb:alpine
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "127.0.0.1:8086:8086"
|
||||||
|
volumes:
|
||||||
|
- ./db/influxdb:/var/lib/influxdb
|
||||||
|
environment:
|
||||||
|
INFLUXDB_DB: grafana
|
||||||
|
INFLUXDB_HTTP_AUTH_ENABLED: "true"
|
||||||
|
INFLUXDB_ADMIN_USER: root
|
||||||
|
INFLUXDB_ADMIN_PASSWORD: xxx
|
Loading…
Reference in a new issue