-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.exmaple.yml
executable file
·60 lines (58 loc) · 1.31 KB
/
docker-compose.exmaple.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
version: "3.8"
services:
db:
image: postgres:latest
ports:
- "5432:5432"
environment:
- POSTGRES_DB=app
- POSTGRES_USER=root
- POSTGRES_PASSWORD=Letusdoit000
volumes:
- ./volumes/postgres:/var/lib/postgresql/data
minio:
image: minio/minio
ports:
- "9000:9000"
- "9001:9001"
volumes:
- ./volumes/minio:/data
environment:
- MINIO_ACCESS_KEY=minioadmin
- MINIO_SECRET_KEY=minioadmin
command: server /data --console-address ":9001" -address ":9000"
healthcheck:
test:
[
"CMD",
"curl",
"-f",
"http://localhost:9001/minio/health/live"
]
interval: 30s
timeout: 20s
retries: 3
pgadmin:
image: dpage/pgadmin4
ports:
- "8081:80"
environment:
- PGADMIN_DEFAULT_PASSWORD=Letusdoit000
tusd:
image: tusproject/tusd
ports:
- "8080:8080"
environment:
- AWS_REGION=cn-north-1
- AWS_ACCESS_KEY_ID=minioadmin
- AWS_SECRET_ACCESS_KEY=minioadmin
command: -verbose -s3-bucket app -s3-endpoint http://minio:9000
volumes:
- ./volumes/tusd:/data
redis:
image: redis:latest
ports:
- "6379:6379"
volumes:
- ./volumes/redis:/data