2020-07-07 04:06:03 +00:00
|
|
|
version: '3'
|
2020-09-02 22:21:17 +00:00
|
|
|
volumes:
|
|
|
|
grafana:
|
|
|
|
prometheus:
|
2020-07-07 04:06:03 +00:00
|
|
|
services:
|
2020-09-02 22:21:17 +00:00
|
|
|
prometheus:
|
|
|
|
image: prom/prometheus:v2.18.0
|
2020-12-31 18:45:31 +00:00
|
|
|
container_name: wownero_prometheus
|
2020-09-02 22:21:17 +00:00
|
|
|
restart: unless-stopped
|
2020-07-07 04:06:03 +00:00
|
|
|
command:
|
2020-09-02 22:21:17 +00:00
|
|
|
- --config.file=/etc/prometheus/prometheus.yml
|
|
|
|
- --storage.tsdb.path=/prometheus
|
|
|
|
- --web.console.libraries=/usr/share/prometheus/console_libraries
|
|
|
|
- --web.console.templates=/usr/share/prometheus/consoles
|
|
|
|
- --web.enable-admin-api
|
|
|
|
volumes:
|
|
|
|
- prometheus:/prometheus
|
|
|
|
- ./files/prometheus:/etc/prometheus
|
|
|
|
ports:
|
|
|
|
- 127.0.0.1:9090:9090
|
|
|
|
grafana:
|
|
|
|
image: grafana/grafana:6.5.0
|
2020-12-31 18:45:31 +00:00
|
|
|
container_name: wownero_grafana
|
2020-11-15 16:55:54 +00:00
|
|
|
restart: unless-stopped
|
2020-07-07 04:06:03 +00:00
|
|
|
ports:
|
2020-09-02 22:21:17 +00:00
|
|
|
- 127.0.0.1:3000:3000
|
|
|
|
environment:
|
|
|
|
HOSTNAME: grafana
|
|
|
|
GF_SECURITY_ADMIN_USER: admin
|
|
|
|
GF_SECURITY_ADMIN_PASSWORD: ${GRAFANA_PASSWORD}
|
|
|
|
GF_SERVER_ROOT_URL: ${GRAFANA_URL}
|
|
|
|
GF_ANALYTICS_REPORTING_ENABLED: "false"
|
|
|
|
GF_ANALYTICS_CHECK_FOR_UPDATES: "false"
|
|
|
|
GF_USERS_ALLOW_SIGN_UP: "false"
|
|
|
|
GF_USERS_ALLOW_ORG_CREATE: "false"
|
|
|
|
GF_LOG_LEVEL: "debug"
|
2020-07-07 04:06:03 +00:00
|
|
|
volumes:
|
2020-09-02 22:21:17 +00:00
|
|
|
- ./files/grafana/dashboards.yaml:/etc/grafana/provisioning/dashboards/default.yaml:ro
|
|
|
|
- ./files/grafana/prometheus.yaml:/etc/grafana/provisioning/datasources/prometheus.yaml:ro
|
|
|
|
- ./files/grafana/daemon_metrics.json:/var/lib/grafana/dashboards/daemon_metrics.json:ro
|
|
|
|
- grafana:/var/lib/grafana
|
|
|
|
exporter:
|
2020-12-31 18:45:31 +00:00
|
|
|
container_name: wownero_exporter
|
2020-09-02 22:21:17 +00:00
|
|
|
build:
|
2020-12-31 18:45:31 +00:00
|
|
|
context: dockerfiles
|
|
|
|
dockerfile: wownerod_exporter
|
2020-11-15 16:55:54 +00:00
|
|
|
restart: unless-stopped
|
2020-09-02 22:21:17 +00:00
|
|
|
environment:
|
2020-09-24 06:39:25 +00:00
|
|
|
DAEMON_HOST: http://wownerod:34570
|
2020-09-02 22:21:17 +00:00
|
|
|
PORT: 8080
|
|
|
|
ports:
|
|
|
|
- 127.0.0.1:8080:8080
|
2020-07-07 04:06:03 +00:00
|
|
|
wownerod:
|
2020-12-31 18:45:31 +00:00
|
|
|
container_name: wownero_daemon
|
|
|
|
build:
|
|
|
|
context: dockerfiles
|
|
|
|
dockerfile: wownerod_nocompile
|
2020-11-15 16:55:54 +00:00
|
|
|
restart: unless-stopped
|
2020-07-07 04:06:03 +00:00
|
|
|
volumes:
|
2020-09-24 06:39:25 +00:00
|
|
|
- ~/data/daemon:/data
|
2020-07-07 04:06:03 +00:00
|
|
|
command:
|
2020-09-24 06:39:25 +00:00
|
|
|
wownerod --data-dir=/data --rpc-bind-ip=0.0.0.0 --confirm-external-bind --non-interactive --public-node --rpc-restricted-bind-port 34568 --rpc-bind-port 34570 --log-level 0
|
2020-07-07 05:55:44 +00:00
|
|
|
ports:
|
2020-09-02 22:21:17 +00:00
|
|
|
- 34567:34567
|
2020-07-07 05:55:44 +00:00
|
|
|
- 34568:34568
|
2020-11-15 16:55:54 +00:00
|
|
|
- 34570:34570
|