mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-08 14:33:52 +07:00
f650c894b0
* Add DNSMasq as an opt-in option * Default to original * Remove commented commands * Remove dhcpd, replaced with dnsmasq * Remove dhcpd, replaced with dnsmasq * Move to dnsmasq * dnsmasq output to stdout * dnsmasq * dnsmasq * Remove unused code, update tag * Correct title Co-authored-by: Khue Doan <khuedoan98@gmail.com> * Remove TFTP Co-authored-by: Khue Doan <khuedoan98@gmail.com> * rename to Dnsmasq Moving to use proxy by default Co-authored-by: Khue Doan <khuedoan98@gmail.com> * Rename for consistency Co-authored-by: Khue Doan <khuedoan98@gmail.com> * Correct terminology Co-authored-by: Khue Doan <khuedoan98@gmail.com> * formatting Co-authored-by: Khue Doan <khuedoan98@gmail.com> * Additional logging * proxy-by-default * naming consistency * naming consistency * Revert Dnsmasq proxy ask * proxy enabled by default * naming consistency * naming consistency * Formatting Co-authored-by: Robin Bourne <robin.bourne@onepeloton.com> Co-authored-by: Khue Doan <khuedoan98@gmail.com>
23 lines
608 B
YAML
23 lines
608 B
YAML
version: "3"
|
|
|
|
services:
|
|
dnsmasq:
|
|
build: ./dnsmasq
|
|
volumes:
|
|
- ./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
|
|
network_mode: host
|
|
cap_add:
|
|
- NET_ADMIN
|
|
http:
|
|
build: ./http
|
|
network_mode: host
|
|
volumes:
|
|
- ./data/os:/usr/share/nginx/html/os
|
|
- ./data/init-config/:/usr/share/nginx/html/init-config
|
|
environment:
|
|
NGINX_PORT: 80
|