-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
41 lines (36 loc) · 956 Bytes
/
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
version: "3.3"
services:
broker:
image: rabbitmq
container_name: message-broker
ports:
- "5672:5672"
backend:
image: redis
container_name: celery-backend
ports:
- "6379:6379"
gcs-celery-worker:
build: ./gcs-celery-worker-src/
container_name: gcs-celery-worker
environment:
GOOGLE_APPLICATION_CREDENTIALS: "/home/dibyasom/streamer/assets/creds.json"
volumes:
- shared-source-code:/home/dibyasom/streamer/workspace:ro
- ./gcs-celery-worker-src/secret/:/home/dibyasom/streamer/assets:ro
links:
- broker
- backend
depends_on:
- broker
- backend
stream-handle:
build: ./stream-handle-src/
container_name: stream-handle
volumes:
- shared-source-code:/home/dibyasom/shredder/workspace:rw
- ./stream-handle-src/src:/home/dibyasom/shredder/assets:rw
depends_on:
- gcs-celery-worker
volumes:
shared-source-code: