-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (44 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
48 lines (44 loc) · 1.04 KB
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
46
47
48
---
version: '3.9'
services:
grafana:
image: grafana/grafana:latest
hostname: "grafana"
container_name: "grafana"
ports:
- "3000:3000"
volumes:
# full path
- /home/$USER/dev/pyroscope/grafana/grafana-datasource.yaml:/etc/grafana/provisioning/datasources/datasources.yaml
environment:
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=true
networks:
- pyroscope
pyroscope:
hostname: pyroscope
container_name: pyroscope
image: "grafana/pyroscope:latest"
deploy:
restart_policy:
condition: on-failure
ports:
- "4040:4040"
command:
- "server"
volumes:
# full path
- /home/$USER/dev/pyroscope/pyroscope/pyroscope-local-config.yaml:/etc/pyroscope/server.yaml
networks:
- pyroscope
app:
build: .
#environment:
# - PYROSCOPE_SERVER_ADDRESS="http://pyroscope:4040"
networks:
- pyroscope
networks:
pyroscope:
name: pyroscope
driver: bridge