forked from stefansundin/rssbox
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (40 loc) · 845 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
38
39
40
41
42
43
44
45
# Grafana is available at http://localhost:3001/. Login with admin/admin. Configure a Prometheus data source to pull metrics from http://prometheus:9090.
version: "3"
services:
web:
build: .
entrypoint: bin/server
environment:
- PORT=3000
- REDIS_URL=redis://redis:6379/3
env_file: .dockerenv
ports:
- "3000:3000"
networks:
- backend
- monitoring
depends_on:
- redis
redis:
image: redis
networks:
- backend
prometheus:
image: prom/prometheus
ports:
- "9090:9090"
volumes:
- ${PWD}/prometheus.yml:/etc/prometheus/prometheus.yml
networks:
- monitoring
grafana:
image: grafana/grafana
ports:
- "3001:3000"
networks:
- monitoring
depends_on:
- prometheus
networks:
backend:
monitoring: