This repository was archived by the owner on Nov 16, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
90 lines (86 loc) · 2.19 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
90 lines (86 loc) · 2.19 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
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
82
83
84
85
86
version: '3'
services:
redis:
container_name: redis
image: redis
ports:
- 6379:6379
scheduler:
container_name: scheduler
build: ./docker-files/python27
working_dir: /usr/src
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
command: bash app/init_scheduler.sh data/data.encrypted redis
volumes:
- ./app:/usr/src/app
- ./data:/usr/src/data
- ./config:/usr/src/config
processor:
container_name: processor
build: ./docker-files/python27
working_dir: /usr/src
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
command: bash app/init_processor.sh data/aes.encrypted redis
volumes:
- ./app:/usr/src/app
- ./data:/usr/src/data
- ./config:/usr/src/config
validator:
container_name: validator
build: ./docker-files/python27
working_dir: /usr/src
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
command: python app/validator.py --redisHost redis
volumes:
- ./app:/usr/src/app
- ./data:/usr/src/data
- ./config:/usr/src/config
depends_on:
- redis
dashboard:
container_name: rq-dashboard
build: ./docker-files/rq-dashboard
ports:
- 8080:9181
environment:
- RQ_DASHBOARD_REDIS_HOST=redis
depends_on:
- redis
redis-commander:
container_name: redis-commander
hostname: redis-commander
image: rediscommander/redis-commander:latest
environment:
- REDIS_HOSTS=local:redis:6379
ports:
- 8081:8081
depends_on:
- redis
schedulernode:
container_name: schedulernode
image: centos:7
working_dir: /usr/src/docker-env
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
volumes:
- ./docker-env:/usr/src/docker-env
- ./docker-env/waagent:/var/lib/waagent
command: bash scheduler_bootstrap.sh data.encrypted redis
processornode:
container_name: processornode
image: centos:7
working_dir: /usr/src/docker-env
environment:
- REDIS_HOST=redis
- REDIS_PORT=6379
volumes:
- ./docker-env:/usr/src/docker-env
- ./docker-env/waagent:/var/lib/waagent
command: bash processor_bootstrap.sh redis