-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-compose.yaml
40 lines (36 loc) · 986 Bytes
/
docker-compose.yaml
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
version: '3.3'
services:
photofield:
build: ./
image: photofield
ports:
- 8080:8080
labels:
- "traefik.http.services.photofield.loadbalancer.server.port=8080"
volumes:
- ./data/configuration.docker.yaml:/app/data/configuration.yaml:ro
- ./photos:/photos:ro
restart: "no"
prometheus:
build: ./docker/prometheus/
ports:
- 9090:9090
volumes:
- ./docker/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
pyroscope:
image: "pyroscope/pyroscope:latest"
ports:
- "4040:4040"
command:
- "server"
grafana:
build: ./docker/grafana/
environment:
- GF_DASHBOARDS_MIN_REFRESH_INTERVAL=1s
- GF_PATHS_PROVISIONING=/provisioning
ports:
- 9091:3000
volumes:
- ./docker/grafana/provisioning:/provisioning
- ./docker/grafana/dashboards:/var/lib/grafana/dashboards
- ./data/grafana:/var/lib/grafana