-
-
Notifications
You must be signed in to change notification settings - Fork 27
/
docker-compose.yml
70 lines (70 loc) · 1.55 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
---
version: '3'
services:
daemon:
build: .
ports:
- 127.0.0.1:8484:8484
init: true
command: ['rebuilderd', '-v']
environment:
- REBUILDERD_COOKIE_PATH=/secret/auth
- RUST_LOG=debug
volumes:
- ./secret:/secret
- ./data:/data
worker-alpine:
build:
context: .
dockerfile: worker/Dockerfile.alpine
# number of concurrent workers
scale: 1
init: true
command: ['connect', 'http://daemon:8484']
environment:
- REBUILDERD_COOKIE_PATH=/secret/auth
volumes:
- ./secret:/secret
worker-archlinux:
build:
context: .
dockerfile: worker/Dockerfile.archlinux
# number of concurrent workers
scale: 1
init: true
command: ['connect', 'http://daemon:8484']
environment:
- REBUILDERD_COOKIE_PATH=/secret/auth
volumes:
- ./secret:/secret
worker-debian:
build:
context: .
dockerfile: worker/Dockerfile.debian
cap_add:
- SYS_ADMIN
# number of concurrent workers
scale: 1
init: true
command: ['connect', 'http://daemon:8484']
environment:
- REBUILDERD_COOKIE_PATH=/secret/auth
volumes:
- ./secret:/secret
worker-tails:
build:
context: .
dockerfile: worker/Dockerfile.tails
privileged: true
# number of concurrent workers
scale: 1
init: true
command: ['connect', 'http://daemon:8484']
environment:
- REBUILDERD_COOKIE_PATH=/secret/auth
volumes:
- ./secret:/secret
- /dev:/dev
- /proc:/proc
- /sys:/sys
- /var/run/libvirt:/var/run/libvirt