forked from rocboss/paopao-ce
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
147 lines (135 loc) · 3.09 KB
/
docker-compose.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
version: '3.1'
services:
db:
image: mysql:8.0
restart: always
environment:
MYSQL_DATABASE: paopao
MYSQL_USER: paopao
MYSQL_PASSWORD: paopao
MYSQL_RANDOM_ROOT_PASSWORD: yes
volumes:
- ./scripts/paopao-mysql.sql:/docker-entrypoint-initdb.d/paopao.sql
- ./custom/data/mysql/data:/var/lib/mysql
ports:
- 3306:3306
networks:
- paopao-network
# minio:
# image: bitnami/minio:latest
# restart: always
# environment:
# MINIO_ROOT_USER: minio-root-user
# MINIO_ROOT_PASSWORD: minio-root-password
# MINIO_DEFAULT_BUCKETS: paopao:public
# ports:
# - 9000:9000
# - 9001:9001
# volumes:
# - ./custom/data/minio/data:/data
# networks:
# - paopao-network
# redis:
# image: redis:7.2.1-alpine
# restart: always
# ports:
# - 6379:6379
# networks:
# - paopao-network
redis:
image: redis/redis-stack:7.2.0-v2
restart: always
ports:
- 6379:6379
- 8001:8001
environment:
REDISEARCH_ARGS: "MAXSEARCHRESULTS 5"
networks:
- paopao-network
# zinc:
# image: bitbus/zincsearch:latest
# user: zincsearch
# restart: always
# ports:
# - 4080:4080
# volumes:
# - ./custom/data/zinc/data:/data
# environment:
# ZINC_FIRST_ADMIN_USER: admin
# ZINC_FIRST_ADMIN_PASSWORD: admin
# DATA_PATH: /data
# networks:
# - paopao-network
meili:
image: getmeili/meilisearch:v1.4
restart: always
ports:
- 7700:7700
volumes:
- ./custom/data/meili/data:/meili_data
environment:
- MEILI_MASTER_KEY=paopao-meilisearch
networks:
- paopao-network
# meilisearch-ui:
# image: riccoxie/meilisearch-ui:latest
# restart: always
# ports:
# - 24900:24900
# networks:
# - paopao-network
# openobserve:
# image: public.ecr.aws/zinclabs/openobserve:latest
# restart: always
# ports:
# - 5080:5080
# volumes:
# - ./custom/data/openobserve/data:/data
# environment:
# ZO_DATA_DIR: /data
# ZO_ROOT_USER_EMAIL: [email protected]
# ZO_ROOT_USER_PASSWORD: paopao-ce
# networks:
# - paopao-network
# pyroscope:
# image: pyroscope/pyroscope:latest
# restart: always
# ports:
# - 4040:4040
# command:
# - 'server'
# networks:
# - paopao-network
# phpmyadmin:
# image: phpmyadmin:5.2
# depends_on:
# - db
# ports:
# - 8080:80
# environment:
# - PMA_HOST=db
# - PMA_USER=paopao
# - PMA_PASSWORD=paopao
# networks:
# - paopao-network
backend:
build: .
# image: bitbus/paopao-ce:0.5
restart: always
platform: linux/amd64
depends_on:
- db
- redis
- meili
# modify below to reflect your custom configure
command: sleep 1000000000
volumes:
- ./config.yaml.sample:/app/paopao-ce/config.yaml
- ./custom:/app/paopao-ce/custom
ports:
- 8008:8008
networks:
- paopao-network
networks:
paopao-network:
driver: bridge