-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.v1.yml
More file actions
115 lines (104 loc) · 2.36 KB
/
docker-compose.v1.yml
File metadata and controls
115 lines (104 loc) · 2.36 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
name: sentinel
services:
redis:
image: redis:7
container_name: sentinel-redis
restart: unless-stopped
ports:
- "6379:6379"
command: ["redis-server", "--appendonly", "yes"]
volumes:
- redis_data:/data
sentinel-api:
build:
context: .
dockerfile: Dockerfile.api
container_name: sentinel-api
env_file: [.env]
restart: unless-stopped
depends_on:
- redis
ports:
- "8001:8001"
manager-worker:
build:
context: .
dockerfile: Dockerfile.base
command: ["python", "-u", "worker_manager.py"]
env_file: [.env]
restart: unless-stopped
depends_on:
- redis
approver-bot:
build:
context: .
dockerfile: Dockerfile.base
command: ["python", "-u", "approver_bot.py"]
env_file: [.env]
restart: unless-stopped
depends_on:
- redis
executor-worker:
build:
context: .
dockerfile: Dockerfile.base
command: ["python", "-u", "executor_worker.py"]
env_file: [.env]
restart: unless-stopped
depends_on:
- redis
probe-worker:
build:
context: .
dockerfile: Dockerfile.base
command: ["python", "-u", "worker_probe.py"]
env_file: [.env]
restart: unless-stopped
depends_on:
- redis
- sentinel-api
reaper-worker:
build:
context: .
dockerfile: Dockerfile.base
command: ["python", "-u", "reaper_worker.py"]
env_file: [.env]
restart: unless-stopped
depends_on:
- redis
# Optional UI tools (not part of v1 core)
dozzle:
image: amir20/dozzle:latest
container_name: sentinel-dozzle
restart: unless-stopped
ports:
- "9999:8080"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- DOZZLE_TAILSIZE=300
- DOZZLE_LEVEL=info
profiles: ["ui"]
portainer:
image: portainer/portainer-ce:latest
container_name: sentinel-portainer
restart: unless-stopped
ports:
- "9000:9000"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- portainer_data:/data
profiles: ["ui"]
redisinsight:
image: redis/redisinsight:latest
container_name: sentinel-redisinsight
restart: unless-stopped
ports:
- "5540:5540"
volumes:
- redisinsight_data:/data
profiles: ["ui"]
volumes:
redis_data:
portainer_data:
redisinsight_data: