-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
42 lines (38 loc) · 888 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
42 lines (38 loc) · 888 Bytes
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
services:
postgres:
image: postgres:16-alpine
container_name: ordex-pg
ports:
- "5432:5432"
environment:
POSTGRES_USER: root
POSTGRES_PASSWORD: Dinhquy10@
POSTGRES_DB: ordex_db
volumes:
- pgdata:/var/lib/postgresql/data
restart: unless-stopped
redis:
image: redis:7-alpine
container_name: ordex-redis
ports:
- "6379:6379"
volumes:
- redisdata:/data
restart: unless-stopped
minio:
image: quay.io/minio/minio:latest
container_name: ordex-minio
ports:
- "9000:9000" # PORT for API S3
- "9001:9001" # PORT for Web UI
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
volumes:
- minio_data:/data
command: server /data --console-address ":9001"
restart: unless-stopped
volumes:
pgdata:
redisdata:
minio_data: