-
Notifications
You must be signed in to change notification settings - Fork 13
/
docker-compose.yml
37 lines (35 loc) · 984 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
version: '3.3'
services:
remo-exporter:
ports:
- 9352:9352
image: kenfdev/remo-exporter:latest
environment:
OAUTH_TOKEN_FILE: '/run/secrets/api-keys'
# Not recommended but token can be set by env vars.
# OAUTH_TOKEN: ${REMO_OAUTH_TOKEN}
# comment out the following if you're using plain docker-compose
secrets:
- api-keys
# Below is for testing secrets with docker-compose
# volumes:
# - ./api-keys:/run/secrets/api-keys
prom:
image: quay.io/prometheus/prometheus:v2.47.0
volumes:
- ./prometheus.sample.yml:/etc/prometheus/prometheus.yml
command: '--config.file=/etc/prometheus/prometheus.yml --storage.tsdb.path=/prometheus'
ports:
- 9090:9090
depends_on:
- remo-exporter
grafana:
image: grafana/grafana
ports:
- '3000:3000'
depends_on:
- prom
# comment out the following if you're using plain docker-compose
secrets:
api-keys:
external: true