-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
47 lines (44 loc) · 1.06 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
services:
redis:
image: redis:7-alpine
volumes:
- type: volume
source: redis_data
target: /data
volume:
nocopy: true
command: ["redis-server", "--maxmemory", "20m", "--maxmemory-policy", "allkeys-lru", "--appendonly", "yes", "--databases", "2"]
ports:
- "6379:${REDIS_PORT:-6379}"
minio:
image: minio/minio:RELEASE.2024-09-22T00-33-43Z
environment:
MINIO_ROOT_USER: accesskey
MINIO_ROOT_PASSWORD: secretkey
volumes:
- type: volume
source: minio_data
target: /data
volume:
nocopy: true
ports:
- "9000:${S3_PORT:-9000}"
- "9001:${S3_CONSOLE_PORT:-9001}" # Console access
command: server /data --console-address ":9001"
mongodb:
image: mongo:6.0.18
volumes:
- type: volume
source: mongodb_data
target: /data/db
volume:
nocopy: true
ports:
- "27017:${MONGODB_PORT:-27017}"
volumes:
redis_data:
driver: local
minio_data:
driver: local
mongodb_data:
driver: local