-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
38 lines (38 loc) · 1007 Bytes
/
docker-compose.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
services:
mysql:
image: mysql:8.0
environment:
MYSQL_ROOT_PASSWORD: 123456 # Define root password
MYSQL_DATABASE: project-pulse # Name of the database to be created
MYSQL_USER: bingyang # Non-root user (optional)
MYSQL_PASSWORD: 123456 # Non-root user's password (optional)
ports:
- "3306:3306" # Exposing MySQL port to the host
volumes:
- mysql_data:/var/lib/mysql # Persist data
mailpit:
image: axllent/mailpit
restart: unless-stopped
ports:
- 8025:8025
- 1025:1025
prometheus:
image: prom/prometheus
volumes:
- ./docker/prometheus/prometheus.yml:/etc/prometheus/prometheus.yml
ports:
- 9090:9090
grafana:
image: grafana/grafana-enterprise
volumes:
- ./docker/grafana:/var/lib/grafana
env_file:
- ./docker/grafana/grafana-config.env
ports:
- 3000:3000
zipkin:
image: openzipkin/zipkin
ports:
- 9411:9411
volumes:
mysql_data: