Skip to content

Commit 0193d04

Browse files
author
Bibas
committed
Indentation
1 parent 92c4750 commit 0193d04

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

pages/cockpit/how-to/federate-scaleway-metrics.mdx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,15 +73,15 @@ Once you have configured your `prometheus.yml` file, you can use docker-compose
7373
1. Create a `docker-compose.yml` file with:
7474
```yaml
7575
services:
76-
prometheus:
77-
image: prom/prometheus:latest
78-
container_name: prometheus
79-
volumes:
80-
- ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
81-
ports:
82-
- 9090:9090
83-
command:
84-
- '--config.file=/etc/prometheus/prometheus.yml'
76+
prometheus:
77+
image: prom/prometheus:latest
78+
container_name: prometheus
79+
volumes:
80+
- ./prometheus.yml:/etc/prometheus/prometheus.yml:ro
81+
ports:
82+
- 9090:9090
83+
command:
84+
- '--config.file=/etc/prometheus/prometheus.yml'
8585
```
8686
2. Run `docker-compose up -d` to start your Prometheus instance
8787
3. Go to `http://localhost:9090/targets` and you should see your newly created target, federating your Scaleway metrics.

0 commit comments

Comments
 (0)