-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
37 lines (36 loc) · 1.09 KB
/
docker-compose.yaml
File metadata and controls
37 lines (36 loc) · 1.09 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
services:
server:
image: aur-build-server:local
build:
context: .
dockerfile: Dockerfile
target: server
cache_from:
- aur-build-server:local
command: --log-level debug
environment: # Comment this line if you are not signing your packages
- SIGN_KEY_PATH=/app/key.asc # Comment this line if you are not signing your packages
ports:
- "8888:8888"
volumes:
- "./config_server.json:/app/config_server.json"
- "./server:/app/server"
- "./key.asc:/app/key.asc" # Comment this line if you are not signing your packages
worker:
image: aur-build-worker:local
security_opt:
- seccomp:./docker/seccomp.json
cap_add:
- ALL
build:
context: .
dockerfile: Dockerfile
target: worker
cache_from:
- aur-build-server:local
command: --log-level debug
volumes:
- "./config_worker.json:/app/config_worker.json"
- "./config:/app/config"
- "./config/mirrorlist:/etc/pacman.d/mirrorlist"
- "./config/pacman.conf:/etc/pacman.conf"