mirror of
https://github.com/metrico/qryn.git
synced 2025-03-14 10:07:18 +00:00
43 lines
1.1 KiB
YAML
43 lines
1.1 KiB
YAML
# setup for centos
|
|
version: '2.1'
|
|
|
|
volumes:
|
|
prometheus_data: {}
|
|
grafana_data: {}
|
|
|
|
services:
|
|
grafana:
|
|
image: grafana/grafana:master
|
|
container_name: grafana
|
|
volumes:
|
|
- grafana_data:/var/lib/grafana
|
|
- ./grafana/provisioning/:/etc/grafana/provisioning/
|
|
# - ./grafana/grafana.ini:/etc/grafana/grafana.ini
|
|
environment:
|
|
- GF_SECURITY_ADMIN_USER=${ADMIN_USER:-admin}
|
|
- GF_SECURITY_ADMIN_PASSWORD=${ADMIN_PASSWORD:-admin}
|
|
- GF_USERS_ALLOW_SIGN_UP=false
|
|
- GF_EXPLORE_ENABLED=true
|
|
restart: unless-stopped
|
|
expose:
|
|
- 3000
|
|
ports:
|
|
- 3000:3000
|
|
labels:
|
|
org.label-schema.group: "monitoring"
|
|
|
|
clickhouse-seed:
|
|
image: clickhouse/clickhouse-server
|
|
container_name: clickhouse-seed
|
|
ports:
|
|
- 8123:8123
|
|
labels:
|
|
org.label-schema.group: "backend"
|
|
|
|
centos:
|
|
image: centos/nodejs-12-centos7
|
|
container_name: centos
|
|
volumes:
|
|
- ../:/opt/qryn
|
|
entrypoint: bash -c 'cd ~ ; cp -rf /opt/qryn . ; cd qryn; ls -la ; rm -rf node_modules ; npm install ; CLICKHOUSE_DB=loki CLICKHOUSE_TSDB=loki INTEGRATION_E2E=1 CLICKHOUSE_SERVER=clickhouse-seed node qryn.mjs'
|