mirror of
https://github.com/BluemediaGER/homelab.git
synced 2024-11-14 00:15:30 +01:00
22 lines
670 B
YAML
22 lines
670 B
YAML
|
version: "3"
|
||
|
|
||
|
services:
|
||
|
dhcp:
|
||
|
build: ./dhcp
|
||
|
volumes:
|
||
|
- ./data/pxe-config/dhcpd.conf:/etc/dhcp/dhcpd.conf
|
||
|
network_mode: host
|
||
|
tftp:
|
||
|
build: ./tftp
|
||
|
network_mode: host
|
||
|
volumes:
|
||
|
- ./data/pxe-config/grub.cfg:/var/lib/tftpboot/grub.cfg
|
||
|
- ./data/os/debian-installer/amd64/grubx64.efi:/var/lib/tftpboot/grubx64.efi
|
||
|
- ./data/os/debian-installer/amd64/initrd.gz:/var/lib/tftpboot/initrd.gz
|
||
|
- ./data/os/debian-installer/amd64/linux:/var/lib/tftpboot/linux
|
||
|
http:
|
||
|
image: nginx:latest
|
||
|
network_mode: host
|
||
|
volumes:
|
||
|
- ./data/os:/usr/share/nginx/html/os:ro
|
||
|
- ./data/preseed:/usr/share/nginx/html/preseed:ro
|