-
Notifications
You must be signed in to change notification settings - Fork 4
/
compose-local.yaml
83 lines (78 loc) · 1.92 KB
/
compose-local.yaml
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
version: '3.8'
services:
chzz-mysql:
image: mysql:latest
container_name: chzz-mysql
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: 1234
MYSQL_DATABASE: chzzdb
TZ: Asia/Seoul
character-set-server: 'utf8mb4'
collation-server: 'utf8mb4_unicode_ci'
ports:
- "3306:3306"
volumes:
- chzz-mysql-data:/var/lib/mysql
command:
- "mysqld"
- "--character-set-server=utf8mb4"
- "--collation-server=utf8mb4_unicode_ci"
chzz-redis:
container_name: chzz-redis
image: redis:latest
restart: always
ports:
- "6379:6379"
chzz-frontend:
image: cloudoort/chzzmarket-frontend:1.0
container_name: react-app
ports:
- "5173:5173"
# node-exporter:
# image: prom/node-exporter:latest
# container_name: node-exporter
# restart: unless-stopped
# volumes:
# - /proc:/host/proc:ro
# - /sys:/host/sys:ro
# - /:/rootfs:ro
# command:
# - '--path.procfs=/host/proc'
# - '--path.rootfs=/rootfs'
# - '--path.sysfs=/host/sys'
# - '--collector.filesystem.mount-points-exclude=^/(sys|proc|dev|host|etc)($$|/)'
# ports:
# - "9100:9100"
#
# prometheus:
# image: prom/prometheus:latest
# container_name: prometheus
# volumes:
# - ./monitoring/prometheus:/etc/prometheus
# command:
# - '--config.file=/etc/prometheus/prometheus.yml'
# ports:
# - "9090:9090"
#
# grafana:
# image: grafana/grafana:latest
# container_name: grafana
# volumes:
# - ./monitoring/grafana:/var/lib/grafana
# environment:
# - GF_SECURITY_ADMIN_PASSWORD=admin
# ports:
# - "3001:3000"
#
# loki:
# image: grafana/loki:latest
# container_name: loki
# ports:
# - "3100:3100"
# volumes:
# - ./monitoring/loki:/etc/loki
# - ./monitoring/loki-data:/tmp/loki
# command: -config.file=/etc/loki/loki-config.yaml
volumes:
chzz-mysql-data: