-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
95 lines (90 loc) · 2.05 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
---
services:
master-1:
image: renovate/renovate:39.21.1
command:
- /renovator/renovator
- --loglevel=debug
- master
- --redis-url=redis://redis:6379/0
- --schedule=*/1 * * * *
- --run-first-time
- --leaderelect
env_file:
- .env
volumes:
- master-1-volume:/renovator
depends_on:
init-master-1:
condition: service_completed_successfully
redis:
condition: service_started
init-master-1:
build:
context: .
user: root
entrypoint: ["sh"]
command: ["-c", "cp /renovator /vol/renovator && echo done"]
volumes:
- master-1-volume:/vol
master-2:
image: renovate/renovate:39.21.1
command:
- /renovator/renovator
- --loglevel=debug
- master
- --redis-url=redis://redis:6379/0
- --schedule=*/1 * * * *
- --run-first-time
- --leaderelect
env_file:
- .env
volumes:
- master-2-volume:/renovator
depends_on:
init-master-2:
condition: service_completed_successfully
redis:
condition: service_started
init-master-2:
build:
context: .
user: root
entrypoint: ["sh"]
command: ["-c", "cp /renovator /vol/renovator && echo done"]
volumes:
- master-2-volume:/vol
agent-1:
image: renovate/renovate:39.21.1-full
entrypoint:
- /renovator/renovator
- --loglevel=debug
- agent
- --redis-url=redis://redis:6379/0
# - --max-process-count=5
depends_on:
init-agent-1:
condition: service_completed_successfully
redis:
condition: service_started
env_file:
- .env
environment:
RENOVATE_AUTODISCOVER: "false"
volumes:
- agent-1-volume:/renovator
init-agent-1:
build:
context: .
user: root
entrypoint: ["sh"]
command: ["-c", "cp /renovator /vol/renovator && echo done"]
volumes:
- agent-1-volume:/vol
redis:
image: redis:7.2.6-alpine
volumes:
master-1-volume:
master-2-volume:
agent-1-volume:
# agent-2-volume: