Skip to content

Commit 036014d

Browse files
authored
Merge pull request #1 from optiop/feature/docker-compose
Add initial docker-compose file to visualize data
2 parents 4de88de + 9b2e717 commit 036014d

File tree

6 files changed

+1695
-0
lines changed

6 files changed

+1695
-0
lines changed

src/docker-compose.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
version: "3.8"
2+
3+
services:
4+
grafana:
5+
image: grafana/grafana
6+
volumes:
7+
- ./grafana/grafana.ini:/etc/grafana/grafana.ini
8+
- ./grafana/provisioning/dashboards:/etc/grafana/provisioning/dashboards
9+
- ./grafana/provisioning/datasources:/etc/grafana/provisioning/datasources
10+
ports:
11+
- 3000:3000
12+
environment:
13+
- POSTGRES_HOST=postgres
14+
- POSTGRES_PORT=5432
15+
- POSTGRES_USER=postgres
16+
- POSTGRES_PASSWORD=postgres
17+
- POSTGRES_DB=postgres
18+
19+
postgres:
20+
build: ./postgres
21+
environment:
22+
- POSTGRES_USER=postgres
23+
- POSTGRES_PASSWORD=postgres
24+
- POSTGRES_DB=postgres

0 commit comments

Comments
 (0)