-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
67 lines (63 loc) · 1.29 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
version: "3.9"
services:
xcatmn:
image: xcat:rocky8.4
pull_policy: never
build:
context: .
dockerfile: Dockerfile
container_name: xcatmn
hostname: xcatmn
#privileged: true
network_mode: host
ports:
- 3001:3001/tcp
- 3001:3001/udp
- 3002:3002/tcp
- 3002:3002/udp
#- 3003:3003/tcp
- 7:7/udp
- 873:873/tcp
- 873:873/udp
- 53:53/tcp
- 53:53/udp
- 67:67/udp
- 67:67/tcp
- 68:68/tcp
- 68:68/udp
- 69:69/tcp
- 69:69/udp
- 80:80/tcp
- 80:80/udp
- 111:111/udp
- 514:514/tcp
- 514:514/udp
- 4011:4011/tcp
- 623:623/tcp
- 623:623/udp
#- 2049:2049/tcp
#- 2049:2049/udp
- 2200:2200/tcp
- 2200:2200/udp
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
- /xcatdata:/xcatdata
- /var/log/xcat:/var/log/xcat
- /customer_data:/customer_data
- provisioning:/opt/provisioning
cap_add:
- CAP_SYS_ADMIN
- NET_ADMIN
#networks:
# - xcat_net
volumes:
provisioning:
driver_opts:
type: "nfs"
o: "nfsvers=3,addr=10.10.2.11,nolock,soft,rw"
device: ":/mnt/pool1/provisioning"
#networks:
# xcat_net:
# ipam:
# config:
# - subnet: 172.177.0.0/16