-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
81 lines (73 loc) · 1.6 KB
/
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
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
73
74
75
76
77
78
79
80
81
version: "3.4"
volumes:
tmp:
models:
services:
app:
image: boom-static-website
build:
context: ./demo
args:
API_BASE_URL: http:\/\/localhost:3000
API_TOKEN: TODO
env_file:
- ./demo/docker.env
ports:
- "8080:80"
api:
image: boom-api
build:
context: ./api
environment:
NODE_ENV: production
env_file:
- ./api/docker.env
ports:
- "3000:3000"
depends_on:
- redis
# see https://github.com/deezer/spleeter/wiki/2.-Getting-started#using-docker-image
worker_2stems:
image: boom-worker
build:
context: ./worker
env_file:
- ./worker/docker.env
volumes:
- tmp:/app/tmp
- models:/app/pretrained_models
depends_on:
- redis
environment:
- REDIS_QUEUE=queue:split:2stems
# worker_4stems:
# image: boom-worker
# build:
# context: ./worker
# env_file:
# - ./worker/docker.env
# volumes:
# - tmp:/app/tmp
# - models:/app/pretrained_models
# depends_on:
# - redis
# environment:
# - REDIS_QUEUE=queue:split:4stems
# worker_5stems:
# image: boom-worker
# build:
# context: ./worker
# env_file:
# - ./worker/docker.env
# volumes:
# - tmp:/app/tmp
# - models:/app/pretrained_models
# depends_on:
# - redis
# environment:
# - REDIS_QUEUE=queue:split:5stems
# see https://github.com/docker-library/docs/blob/55604f7900451290144c0081e7f622297e519f61/redis/README.md#start-with-persistent-storage
redis:
image: redis
ports:
- "6379:6379"