-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
30 lines (30 loc) · 1021 Bytes
/
docker-compose.yml
File metadata and controls
30 lines (30 loc) · 1021 Bytes
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
---
version: "3"
services:
pxe:
build:
context: .
dockerfile: Dockerfile
container_name: pxe
environment:
- TZ=Europe/Madrid
volumes:
- ./volumes/tftpboot/pxelinux.cfg/:/var/lib/tftpboot/pxelinux.cfg/
- ./volumes/files/:/var/lib/tftpboot/files/
network_mode: host
cap_add:
- NET_ADMIN
restart: unless-stopped
command: --dhcp-range=10.0.0.2,10.0.0.250,255.255.255.0 --interface=enp6s0 --interface=lo --address=/mirror.librelabucm.org/10.0.0.1 --address=/iso.librelabucm.org/10.0.0.1 --address=/librelabucm.org/10.0.0.1 --dhcp-option=5,10.0.0.1 --dhcp-option=enp6s0,6,10.0.0.1 --bind-interfaces --port=53
caddy:
image: caddy:latest
ports:
- "80:80"
volumes:
- ./volumes/Caddyfile:/etc/caddy/Caddyfile
- ./volumes/isos/:/srv/isos/
- ./volumes/caddy_mirror/:/srv/mirror/
- ./volumes/caddy_data:/data
- ./volumes/caddy_config:/config
- ./volumes/caddy_logs:/var/log/caddy
restart: unless-stopped