-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: rollback modification on .yml files
- Loading branch information
1 parent
f9d7e43
commit aae704d
Showing
6 changed files
with
60 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,60 +1,50 @@ | ||
# This docker-compose.yml configuration contains: | ||
# - a Gossamer node on the Kusama chain | ||
# - a Prometheus server scrapping metrics from Gossamer | ||
# - a Grafana server using the Prometheus server as source | ||
# | ||
# Prometheus and Grafana are both provisioned to give you a dashboard to play with. | ||
# They are tailored for local development, and Grafana gives you anonymous admin access. | ||
# | ||
# You can run all of the containers with: `docker-compose up` | ||
# Alternatively, you can run select containers with for example: `docker-compose up gossamer` | ||
# | ||
# To rebuild the Gossamer Docker image: `docker-compose build` | ||
|
||
version: "3" | ||
version: '3' | ||
|
||
services: | ||
gossamer: | ||
image: chainsafe/gossamer | ||
build: . | ||
volumes: | ||
# Remove with: docker volume rm gossamer | ||
- gossamer:/data/gossamer | ||
command: | ||
- --basepath=/data/gossamer | ||
- --chain=kusama | ||
- --log=info | ||
- --publish-metrics | ||
- --metrics-address=:9876 | ||
- --pprofserver | ||
ports: | ||
- 6060:6060/tcp # Pprof server | ||
- 7001:7001/tcp # Network port | ||
- 8545:8545/tcp # RPC HTTP port | ||
- 8546:8546/tcp # RPC Websocket port | ||
expose: | ||
- 9876/tcp # Prometheus metrics for Prometheus server | ||
gossamer: | ||
image: chainsafe/gossamer | ||
build: . | ||
volumes: | ||
# Remove with: docker volume rm gossamer | ||
- gossamer:/data/gossamer | ||
command: | ||
- --basepath=/data/gossamer | ||
- --chain=kusama | ||
- --log=info | ||
- --publish-metrics | ||
- --metrics-address=:9876 | ||
- --pprofserver | ||
ports: | ||
- 6060:6060/tcp # Pprof server | ||
- 7001:7001/tcp # Network port | ||
- 8545:8545/tcp # RPC HTTP port | ||
- 8546:8546/tcp # RPC Websocket port | ||
expose: | ||
- 9876/tcp # Prometheus metrics for Prometheus server | ||
|
||
prometheus: | ||
image: prom/prometheus | ||
volumes: | ||
- ./docker/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro | ||
# The following line can be uncommented to persist metrics data. | ||
# - gossamer-prometheus:/prometheus | ||
expose: | ||
- 9090/tcp # Prometheus metrics for Grafana | ||
prometheus: | ||
image: prom/prometheus | ||
volumes: | ||
- ./docker/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml:ro | ||
# The following line can be uncommented to persist metrics data. | ||
# - gossamer-prometheus:/prometheus | ||
expose: | ||
- 9090/tcp # Prometheus metrics for Grafana | ||
|
||
grafana: | ||
image: grafana/grafana-oss | ||
ports: | ||
- 3000:3000/tcp # HTTP Web interface at http://localhost:3000/ | ||
volumes: | ||
- ./docker/grafana/grafana.ini:/etc/grafana/grafana.ini:ro | ||
- ./docker/grafana/provisioning:/etc/grafana/provisioning:ro | ||
# The following line can be uncommented to persist modifications. | ||
# - gossamer-grafana:/var/lib/grafana | ||
grafana: | ||
image: grafana/grafana-oss | ||
ports: | ||
- 3000:3000/tcp # HTTP Web interface at http://localhost:3000/ | ||
volumes: | ||
- ./docker/grafana/grafana.ini:/etc/grafana/grafana.ini:ro | ||
- ./docker/grafana/provisioning:/etc/grafana/provisioning:ro | ||
# The following line can be uncommented to persist modifications. | ||
# - gossamer-grafana:/var/lib/grafana | ||
|
||
volumes: | ||
gossamer: | ||
gossamer-prometheus: | ||
gossamer-grafana: | ||
gossamer: | ||
gossamer-prometheus: | ||
gossamer-grafana: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters