-
Notifications
You must be signed in to change notification settings - Fork 144
/
docker-compose.template.yml
82 lines (82 loc) · 2.86 KB
/
docker-compose.template.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
services:
alertmanager:
container_name: aalert
image: "prom/alertmanager:${ALERT_MANAGER_VERSION}"
#GENERAL_DOCER_CONFIG
ports:
- ${BIND_ADDRESS}${ALERTMANAGER_PORT}:9093
volumes:
- ${ALERT_MANAGER_RULE_CONFIG}:/etc/alertmanager/config.yml
#ALERT_MANAGER_DIR
#ALERTMANAGER_COMMAND
grafana:
container_name: agraf
environment:
- GF_PANELS_DISABLE_SANITIZE_HTML=true
- GF_PATHS_PROVISIONING=/var/lib/grafana/provisioning
- GF_PLUGINS_ALLOW_LOADING_UNSIGNED_PLUGINS=scylladb-scylla-datasource
- GF_AUTH_BASIC_ENABLED=${GF_AUTH_BASIC_ENABLED}
- GF_AUTH_ANONYMOUS_ENABLED=${GF_AUTH_ANONYMOUS_ENABLED}
- GF_AUTH_ANONYMOUS_ORG_ROLE=${GF_AUTH_ANONYMOUS_ORG_ROLE}
- GF_SECURITY_ADMIN_PASSWORD=${GF_SECURITY_ADMIN_PASSWORD}
- GF_ANALYTICS_REPORTING_ENABLED=${ANALYTICS_REPORTING_ENABLED}
- GF_ANALYTICS_CHECK_FOR_UPDATES=${ANALYTICS_CHECK_FOR_UPDATES}
- GF_ANALYTICS_CHECK_FOR_PLUGIN_UPDATES=${ANALYTICS_CHECK_FOR_PLUGIN_UPDATES}
- GF_SECURITY_ANGULAR_SUPPORT_ENABLED=${SECURITY_ANGULAR_SUPPORT_ENABLED}
- GF_SERVER_ENABLE_GZIP=${SERVER_ENABLE_GZIP}
- GF_DASHBOARDS_DEFAULT_HOME_DASHBOARD_PATH=/var/lib/grafana/dashboards/ver_${SCYLLA_VERSION}/scylla-overview.${SCYLLA_VERSION}.json
#GRAFANA_ENV
#GENERAL_DOCER_CONFIG
image: grafana/grafana:${GRAFANA_VERSION}
ports:
- ${BIND_ADDRESS}${GRAFANA_PORT}:3000
user: 1000:1000
volumes:
- ./grafana/build:/var/lib/grafana/dashboards
- ./grafana/plugins:/var/lib/grafana/plugins
- ./grafana/provisioning:/var/lib/grafana/provisioning
#GRAFANA_VOLUMES
# - path/to/grafana/dir:/var/lib/grafana
loki:
command:
- --config.file=/mnt/config/loki-config.yaml
container_name: loki
image: grafana/loki:${LOKI_VERSION}
#GENERAL_DOCER_CONFIG
#LOKi_USER_PERMISSIONS
ports:
- ${BIND_ADDRESS}${LOKI_PORT}:3100
volumes:
- ${LOKI_RULE_DIR}:/etc/loki/rules/fake:z
- ${LOKI_CONF_DIR}:/mnt/config:z
- ${LOKI_WALL_DIR}:/wal:z
#LOKI_DIR
promotheus:
#PROMETHEUS_COMMAND_LINE
#GENERAL_DOCER_CONFIG
#PROMETHEUS_USER_PERMISSIONS
container_name: aprom
image: prom/prometheus:${PROMETHEUS_VERSION}
ports:
- ${BIND_ADDRESS}${PROMETHEUS_PORT}:9090
volumes:
- ./prometheus/build/prometheus.yml:/etc/prometheus/prometheus.yml
- ${SCYLLA_TARGET_FILE}
- ${PROMETHEUS_RULES}
- ${SCYLLA_MANGER_TARGET_FILE}
- ${NODE_TARGET_FILE}
- ${SCYLLA_MANGER_AGENT_TARGET_FILE}
#PROMETHEUS_VOLUMES
# - path/to/data/dir:/prometheus/data
promtail:
command:
- --config.file=/etc/promtail/config.yml
container_name: promtail
#GENERAL_DOCER_CONFIG
image: grafana/promtail:${LOKI_VERSION}
ports:
- ${BIND_ADDRESS}1514:1514
- ${BIND_ADDRESS}9080:9080
volumes:
- ./loki/promtail/promtail_config.compose.yml:/etc/promtail/config.yml
version: '3'