-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
48 lines (44 loc) · 1.24 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
services:
rabbitmq:
image: rabbitmq:4-management-alpine
ports:
- "5672:5672"
- "15672:15672"
environment:
- RABBITMQ_DEFAULT_USER=${RABBITMQ_DEFAULT_USER}
- RABBITMQ_DEFAULT_PASS=${RABBITMQ_DEFAULT_PASS}
volumes:
- ~/.docker-conf/rabbitmq/data/:/var/lib/rabbitmq/
- ~/.docker-conf/rabbitmq/log/:/var/log/rabbitmq
networks:
- common_net
minio:
image: minio/minio
command: server --address ":9000" --console-address ":9001" /data
ports:
- "9000:9000"
- "9001:9001"
environment:
- MINIO_ACCESS_KEY=${MINIO_ACCESS_KEY}
- MINIO_SECRET_KEY=${MINIO_SECRET_KEY}
volumes:
- minio_data:/data
tusd:
image: tusproject/tusd:latest
command: -verbose -s3-bucket raw-uploads -s3-endpoint http://host.docker.internal:9000 -port 8080 -hooks-grpc host.docker.internal:8090 -base-path /api/uploads
ports:
- "8080:8080"
volumes:
- tusd_data:/data
environment:
- AWS_REGION=${MINIO_REGION}
- AWS_ACCESS_KEY_ID=${MINIO_ACCESS_KEY}
- AWS_SECRET_ACCESS_KEY=${MINIO_SECRET_KEY}
networks:
- common_net
volumes:
minio_data:
tusd_data:
networks:
common_net:
driver: bridge