-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
87 lines (81 loc) · 1.94 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
---
version: "3.7"
services:
instapxe-tftp:
image: instapxe/instapxe
container_name: instapxe-tftp
restart: unless-stopped
env_file:
- production.env
cap_add:
- NET_ADMIN
volumes:
- ./2_config/instapxe-tftp.cfg/dnsmasq.conf:/pxe/dnsmasq/dnsmasq.conf
- ./2_config/instapxe.conf:/var/opt/instapxe
network_mode: "host"
instapxe-http:
image: nginx:alpine
container_name: instapxe-http
restart: unless-stopped
ports:
- 80:80
volumes:
- ./2_config/nginx.cfg/nginx/default.conf:/etc/nginx/conf.d/default.conf
- ./http:/usr/share/nginx/html
- ./nfs/reports:/usr/share/nginx/html/reports
networks:
- instapxe_net
instapxe-nfs:
image: erichough/nfs-server
container_name: instapxe-nfs
restart: unless-stopped
privileged: true
ports:
- 2049:2049
- 2049:2049/udp
- 111:111
- 111:111/udp
- 32765:32765
- 32765:32765/udp
- 32767:32767
- 32767:32767/udp
volumes:
- ./nfs/exports:/etc/exports
- ./nfs/dsu:/dsu
- ./nfs/sum_gen8:/sum_gen8
- ./nfs/sum_gen7:/sum_gen7
- ./nfs/sum_latest:/sum_latest
- ./nfs/reports:/reports
- ./nfs/instapxe_agent:/instapxe_agent
networks:
- instapxe_net
instapxe-db:
image: mysql
container_name: instapxe-db
restart: unless-stopped
env_file:
- production.env
volumes:
- ./db/instapxe_db:/var/lib/mysql
networks:
- instapxe_net
instapxe-backend:
image: instapxe/instapxe-backend:0.81
container_name: instapxe-backend
restart: unless-stopped
privileged: true
env_file:
- production.env
ports:
- 9010:9010
volumes:
- ./2_config/instapxe.conf:/instapxe
- /var/run/dbus:/var/run/dbus
- /dev/bus/usb:/dev/bus/usb
networks:
- instapxe_net
depends_on:
- instapxe-db
networks:
instapxe_net:
driver: bridge