-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.prod.yml
72 lines (65 loc) · 1.77 KB
/
docker-compose.prod.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
64
65
66
67
68
69
70
71
72
services:
gatewayservice:
build:
context: .
dockerfile: src/gateway/Dockerfile
restart: unless-stopped
ports:
- 6543:6543
environment:
- DATABASE_URL=postgres://postgres:postgres@postgres:5432/postgres
- RABBITMQ_URL=amqp://rabbitmqservice:5672
- BUCKET_URL=http://bucketservice:9000
- BUCKET_KEY=minioadmin
- BUCKET_SECRET=minioadmin
- UPLOAD_URL=http://uploadservice:8787
ytdlservice:
build:
context: .
dockerfile: src/ytdlservice/Dockerfile
restart: unless-stopped
environment:
- RABBITMQ_URL=amqp://rabbitmqservice:5672
- BUCKET_URL=http://bucketservice:9000
- BUCKET_KEY=minioadmin
- BUCKET_SECRET=minioadmin
shutter:
build:
context: .
dockerfile: src/shutter/Dockerfile
restart: unless-stopped
ports:
- 5555:5555
environment:
- BUCKET_URL=http://bucketservice:9000
- BUCKET_KEY=minioadmin
- BUCKET_SECRET=minioadmin
- TTS_KEY=${TTS_KEY}
- TTS_REGION=${TTS_REGION}
- SPEECH_CONDUCT_OCSP_CHECK=0
uploadservice:
build:
context: .
dockerfile: src/uploadservice/Dockerfile
restart: unless-stopped
ports:
- 8787:8787
command: npx miniflare -b BUCKET_URL=http://bucketservice:9000 -b BUCKET_KEY=minioadmin -b BUCKET_SECRET=minioadmin index.js
bucketservice:
image: minio/minio
restart: unless-stopped
ports:
- 9001:9001 # web
command: server /data --console-address ":9001"
rabbitmqservice:
image: rabbitmq:3-management-alpine
restart: unless-stopped
ports:
- 15672:15672 # web
postgres:
image: postgres:13-alpine
restart: unless-stopped
ports:
- 5432:5432
environment:
- POSTGRES_PASSWORD=postgres