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
|
2021-04-16 15:50:38 +00:00
|
|
|
- --storage.tsdb.retention.time=360d
|
2020-09-02 22:21:17 +00:00
|
|
|
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:
|
2021-06-30 18:33:03 +00:00
|
|
|
- ./data:/data
|
2020-07-07 04:06:03 +00:00
|
|
|
command:
|
2021-02-26 09:49:53 +00:00
|
|
|
wownerod --data-dir=/data --rpc-bind-ip=0.0.0.0 --rpc-restricted-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:
|
2021-06-30 18:33:03 +00:00
|
|
|
- 0.0.0.0:34567:34567
|
|
|
|
- 0.0.0.0:34568:34568
|
2021-05-17 21:01:48 +00:00
|
|
|
- 127.0.0.1:34570:34570
|