-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
54 lines (50 loc) · 1.01 KB
/
docker-compose.yml
File metadata and controls
54 lines (50 loc) · 1.01 KB
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
version: "3.8"
services:
redis:
container_name: redis
hostname: redis
image: redis:latest
command: --port 6379
ports:
- "6379:6379"
expose:
- "6379"
restart: always
backend:
container_name: backend
build:
context: .
dockerfile: backend/Dockerfile
ports:
- "5057:5057"
working_dir: /usr/src/backend
links:
- redis
depends_on:
- redis
command: uvicorn backend.src.api:app --host 0.0.0.0 --port 5057
redis_worker:
container_name: redis_worker
build:
context: .
dockerfile: worker/Dockerfile
working_dir: /usr/src/workers
links:
- redis
depends_on:
- redis
redis_dashboard:
container_name: redis_dashboard
build:
context: .
dockerfile: dashboard/Dockerfile
ports:
- "9181:9181"
expose:
- "9181"
working_dir: /usr/src/dashboard
links:
- redis
depends_on:
- redis
command: rq-dashboard -u redis://redis:6379 -p 9181