-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
54 lines (54 loc) · 1019 Bytes
/
docker-compose.yaml
File metadata and controls
54 lines (54 loc) · 1019 Bytes
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.7'
services:
redis:
image: redislabs/rebloom:2.4.3
container_name: rebloom
ports:
- "6379:6379"
api:
depends_on:
- redis
links:
- redis
build:
context: .
dockerfile: ./Dockerfile
environment:
APP_MODE: 'api'
HTTP_PORT: 8080
REDIS_URL: redis:6379
REDIS_IS_CLUSTER: 'false'
REDIS_IS_TLS: 'false'
ports:
- "8080:8080"
- "8081:8081"
relay:
depends_on:
- redis
links:
- redis
build:
context: .
dockerfile: ./Dockerfile
environment:
APP_MODE: 'relay'
REDIS_URL: redis:6379
REDIS_IS_CLUSTER: 'false'
REDIS_IS_TLS: 'false'
ports:
- "8082:8081"
workers:
depends_on:
- redis
links:
- redis
build:
context: .
dockerfile: ./Dockerfile
environment:
APP_MODE: 'workers'
REDIS_URL: redis:6379
REDIS_IS_CLUSTER: 'false'
REDIS_IS_TLS: 'false'
ports:
- "8083:8081"