-
Notifications
You must be signed in to change notification settings - Fork 90
/
docker-compose.yml
63 lines (59 loc) · 1.46 KB
/
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
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
version: '3'
services:
aigotools:
container_name: aigotools
build: ./packages/aigotools
ports:
- '0.0.0.0:3000:3000'
volumes:
- ./packages/aigotools/.env.prod:/app/.env
crawler:
container_name: crawler
build: ./packages/crawler
ports:
- '0.0.0.0:13000:13000'
volumes:
- ./packages/crawler/.env.prod:/app/.env
mongo:
image: mongo:latest
container_name: aigotools-mongo
ports:
- '27017:27017'
volumes:
- './.volumes/mongo/data:/data/db'
command: mongod --auth
environment:
- MONGO_INITDB_ROOT_USERNAME=root
- MONGO_INITDB_ROOT_PASSWORD=aigotools123456
redis:
image: redis:latest
container_name: aigotools-redis
command: [ 'redis-server', '--requirepass', 'aigotools123456' ]
ports:
- '6379:6379'
volumes:
- './.volumes/redis/redis.conf:/etc/redis/redis.conf'
- './.volumes/redis/data:/data'
minio:
image: quay.io/minio/minio
container_name: aigotools-minio
ports:
- '127.0.0.1:9000:9000'
- '127.0.0.1:9001:9001'
volumes:
- './.volumes/minio/data:/data'
command: server /data --console-address ":9001"
environment:
- MINIO_ROOT_USER=root
- MINIO_ROOT_PASSWORD=aigotools123456
healthcheck:
test:
[
'CMD',
'curl',
'-f',
'http://localhost:9000/minio/health/live'
]
interval: 30s
timeout: 20s
retries: 3