2021-04-21 00:55:42 +00:00
|
|
|
# [Netbootxyz](https://netboot.xyz) is a way to PXE boot various operating
|
|
|
|
# system installers or utilities from one place within the BIOS without the need
|
|
|
|
# of having to go retrieve the media to run the tool. iPXE is used to provide a
|
|
|
|
# user friendly menu from within the BIOS that lets you easily choose the
|
|
|
|
# operating system you want along with any specific types of versions or
|
|
|
|
# bootable flags.
|
2021-04-10 10:16:29 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
version: "2.1"
|
|
|
|
services:
|
|
|
|
netbootxyz:
|
|
|
|
image: ghcr.io/linuxserver/netbootxyz
|
|
|
|
container_name: netbootxyz
|
|
|
|
environment:
|
|
|
|
# for UserID
|
2022-04-02 00:45:58 +00:00
|
|
|
- PUID=${PUID:-1024}
|
|
|
|
# for GroupID
|
2021-04-10 10:16:29 +00:00
|
|
|
- PGID=${PGID:-100}
|
2023-02-12 01:01:09 +00:00
|
|
|
# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).
|
2023-02-26 14:51:38 +00:00
|
|
|
- TZ=${TZ:-Europe/Amsterdam}
|
2021-04-10 10:16:29 +00:00
|
|
|
# Specify a specific version of boot files you want to use from NETBOOT.XYZ (unset pulls latest)
|
|
|
|
- MENU_VERSION=1.9.9 # optional
|
|
|
|
# Specify the port range tftp will use for data transfers [(see Wikipedia)](https://en.wikipedia.org/wiki/Trivial_File_Transfer_Protocol#Details)
|
|
|
|
- PORT_RANGE=30000:30010 # optional
|
2021-04-30 00:49:55 +00:00
|
|
|
# Specify a sobfolder if running this behind a reverse proxy (IE /proxy/)
|
|
|
|
- SUBFOLDER=/ # optional
|
2021-04-10 10:16:29 +00:00
|
|
|
volumes:
|
|
|
|
# Storage for boot menu files and web application config
|
|
|
|
- ${BASEDIR:-/volume1/docker}/netbootxyz/config:/config
|
|
|
|
# Storage for NETBOOT.XYZ bootable assets (live CDs and other files)
|
|
|
|
- ${BASEDIR:-/volume1/docker}/netbootxyz/assets:/assets # optional
|
|
|
|
ports:
|
|
|
|
# Web configuration interface.
|
|
|
|
- 3000:3000
|
|
|
|
# TFTP Port.
|
|
|
|
- 69:69/udp
|
|
|
|
# NGINX server for hosting assets.
|
|
|
|
- 8080:80 # optional
|
|
|
|
restart: unless-stopped
|