Skip to content

Instantly share code, notes, and snippets.

@nnewc
Created April 26, 2024 17:52
Show Gist options
  • Save nnewc/ba084b17c9937c326906d64ed5c07239 to your computer and use it in GitHub Desktop.
Save nnewc/ba084b17c9937c326906d64ed5c07239 to your computer and use it in GitHub Desktop.
Netboot.xyz docker compose
---
services:
netbootxyz:
image: ghcr.io/netbootxyz/netbootxyz:latest
container_name: netbootxyz
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- MENU_VERSION=2.0.47 #optional
- PORT_RANGE=30000:30010 #optional
- SUBFOLDER=/ #optional
- NGINX_PORT=80
- WEB_APP_PORT=3000
volumes:
- netboot-config:/config
- netboot-assets:/assets #optional
ports:
- 3000:3000
- 65500-65515:65500-65515/udp
- 69:69/udp
- 8083:80 #optional
restart: unless-stopped
volumes:
netboot-config:
netboot-assets:
driver: local
driver_opts:
type: none
device: /path/to/netbootxyz/assets
o: bind
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment