This repository was archived by the owner on Apr 20, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
99 lines (91 loc) · 2.02 KB
/
docker-compose.dev.yml
File metadata and controls
99 lines (91 loc) · 2.02 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
services:
cdn:
build:
context: .
dockerfile: docker/cdn/Dockerfile.dev
ports:
- "8080:8080"
volumes:
- ./app/cdn:/app
networks:
- goofy-network
depends_on:
- backend
backend:
build:
context: .
dockerfile: docker/back/Dockerfile.dev
ports:
- "8082:8080"
environment:
- MONGO_URI=${MONGO_URI:-mongodb://mongodb:27017}
- JWT_SECRET=${JWT_SECRET:-local-development-secret}
- GIN_MODE=debug
volumes:
- ./app/back:/app
networks:
- goofy-network
depends_on:
- mongodb
mongodb:
image: mongo:latest
ports:
- "27017:27017"
volumes:
- mongodb-data:/data/db
networks:
- goofy-network
redis:
image: redis:alpine
ports:
- "6379:6379"
networks:
- goofy-network
volumes:
- redis-data:/data
prometheus:
image: prom/prometheus:latest
ports:
- "9090:9090"
volumes:
- ./config/prometheus:/etc/prometheus
command:
- '--config.file=/etc/prometheus/prometheus.yml'
networks:
- goofy-network
alertmanager:
image: prom/alertmanager:latest
ports:
- "9093:9093"
volumes:
- ./config/alertmanager:/etc/alertmanager
command:
- '--config.file=/etc/alertmanager/config.yml'
- '--storage.path=/alertmanager'
networks:
- goofy-network
grafana:
image: grafana/grafana:latest
ports:
- "3000:3000"
environment:
- GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_ADMIN_PASSWORD:-admin}
- GF_USERS_ALLOW_SIGN_UP=false
- GF_INSTALL_PLUGINS=grafana-piechart-panel
- GF_AUTH_ANONYMOUS_ENABLED=true
- GF_AUTH_ANONYMOUS_ORG_ROLE=Admin
- GF_AUTH_DISABLE_LOGIN_FORM=false
volumes:
- ./config/grafana/provisioning:/etc/grafana/provisioning
- grafana-data:/var/lib/grafana
networks:
- goofy-network
depends_on:
- prometheus
networks:
goofy-network:
driver: bridge
volumes:
mongodb-data:
redis-data:
grafana-data: