2021-08-30 23:44:25 +07:00
|
|
|
services:
|
2022-07-18 01:39:02 +07:00
|
|
|
dnsmasq:
|
|
|
|
build: ./dnsmasq
|
2021-08-30 23:44:25 +07:00
|
|
|
volumes:
|
2022-07-18 01:39:02 +07:00
|
|
|
- ./data/pxe-config/dnsmasq.conf:/etc/dnsmasq.conf
|
|
|
|
- ./data/pxe-config/grub.cfg:/tftp/grub.cfg
|
|
|
|
- ./data/os/EFI/BOOT/grubx64.efi:/tftp/grubx64.efi
|
|
|
|
- ./data/os/images/pxeboot/initrd.img:/tftp/initrd.img
|
|
|
|
- ./data/os/images/pxeboot/vmlinuz:/tftp/vmlinuz
|
2021-08-30 23:44:25 +07:00
|
|
|
network_mode: host
|
2022-07-18 01:39:02 +07:00
|
|
|
cap_add:
|
|
|
|
- NET_ADMIN
|
2021-08-30 23:44:25 +07:00
|
|
|
http:
|
|
|
|
build: ./http
|
|
|
|
network_mode: host
|
|
|
|
volumes:
|
2021-08-31 00:35:35 +07:00
|
|
|
- ./data/os:/usr/share/nginx/html/os
|
2021-08-30 23:44:25 +07:00
|
|
|
- ./data/init-config/:/usr/share/nginx/html/init-config
|
|
|
|
environment:
|
|
|
|
NGINX_PORT: 80
|