-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdocker-compose.yaml
86 lines (80 loc) · 1.67 KB
/
docker-compose.yaml
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
x-ubuntu-build: &x-ubuntu-build
build:
context: ../../..
dockerfile: docker/dist/ubuntu/Dockerfile
args:
USERNAME: $USER
x-almalinux8-build: &x-almalinux8-build
build:
context: ../../..
dockerfile: docker/dist/almalinux8/Dockerfile
args:
USERNAME: $USER
x-rockylinux9-build: &x-rockylinux9-build
build:
context: ../../..
dockerfile: docker/dist/rockylinux9/Dockerfile
args:
USERNAME: $USER
x-common: &x-common
volumes:
- ../../..:/home/$USER/gfarm:cached
- local:/home/$USER/local:cached
- ../minica/minica.pem:/minica/minica.crt
networks:
- gfarm_net
cap_add:
- SYS_ADMIN
- SYS_PTRACE
devices:
- /dev/fuse
security_opt:
- seccomp:unconfined
- apparmor:unconfined
privileged: true
services:
c1:
<<: [*x-ubuntu-build, *x-common]
image: gfarm-ubuntu
hostname: c1
container_name: gfarm-c1
c2:
<<: [*x-almalinux8-build, *x-common]
image: gfarm-almalinux8
hostname: c2
container_name: gfarm-c2
c3:
<<: [*x-rockylinux9-build, *x-common]
image: gfarm-rockylinux9
hostname: c3
container_name: gfarm-c3
c4:
<<: *x-common
image: gfarm-ubuntu
hostname: c4
container_name: gfarm-c4
c5:
<<: *x-common
image: gfarm-almalinux8
hostname: c5
container_name: gfarm-c5
c6:
<<: *x-common
image: gfarm-rockylinux9
hostname: c6
container_name: gfarm-c6
c7:
<<: *x-common
image: gfarm-ubuntu
hostname: c7
container_name: gfarm-c7
c8:
<<: *x-common
image: gfarm-almalinux8
hostname: c8
container_name: gfarm-c8
networks:
gfarm_net:
name: gfarm_net
volumes:
local: