-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.dev.yml
52 lines (47 loc) · 1.11 KB
/
docker-compose.dev.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
46
47
48
49
50
51
52
name: observatory-dev
services:
postgres:
image: postgres:latest
restart: always
ports:
- ${POSTGRES_PORT}:5432
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: ${POSTGRES_DB}
volumes:
- postgres_data:/var/lib/postgresql/data
grafana:
image: grafana/grafana
restart: always
ports:
- '3060:3000'
environment:
- GF_SECURITY_ADMIN_PASSWORD=admin
volumes:
- ./grafana:/var/lib/grafana
depends_on:
- loki
networks:
- container_network
loki:
image: grafana/loki:2.7.3
ports:
- '3100:3100'
networks:
- container_network
redis:
image: redis:latest
restart: always
ports:
- 6379:6379
volumes:
- redis:/data
networks:
- container_network
volumes:
redis:
postgres_data:
networks:
container_network:
driver: bridge