Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
qdm12 committed Jul 26, 2022
1 parent d251090 commit abacdae
Show file tree
Hide file tree
Showing 3 changed files with 1,202 additions and 17 deletions.
51 changes: 41 additions & 10 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,46 @@
version: '3.7'
version: '3'

services:
gossamer:
image: chainsafe/gossamer
build: .
volumes:
- ./docker-data/gossamer:/data/gossamer
command:
- --basepath=/data/gossamer
- --chain=kusama
- --log=info
- --publish-metrics
- --metrics-address=":9876"
- --pprofserver
ports:
- 6060:6060/tcp
- 7001:7001/tcp
- 8545:8545/tcp
- 8546:8546/tcp
- 8540:8540/tcp
expose:
# Prometheus metrics for Prometheus server
- 9876/tcp
restart: always

services:
prometheus:
# Requirements:
# mkdir docker-data/prometheus
# sudo chown nobody:nobody docker-data/prometheus
# sudo chmod 755 docker-data/prometheus
image: prom/prometheus
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
command:
- '--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'
- ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
- gossamer-prometheus:/prometheus
ports:
- 9090:9090/tcp
restart: always

grafana:
image: grafana/grafana-oss
ports:
- 9090:9090
restart: always
- 3000:3000/tcp
volumes:
- ./grafana.ini:/etc/grafana/grafana.ini:ro
- gossamer-grafana:/var/lib/grafana
Loading

0 comments on commit abacdae

Please sign in to comment.