Compare commits

...

2 Commits

Author SHA1 Message Date
36274d84f3 Merge pull request 'Adding netbootxyz' (#11) from netboot into master
Reviewed-on: #11
2026-04-09 14:57:59 -07:00
c890837a79 Adding netbootxyz 2026-04-09 21:57:29 +00:00

46
netbootxyz/compose.yml Normal file
View File

@@ -0,0 +1,46 @@
services:
netbootxyz:
image: ghcr.io/netbootxyz/netbootxyz
container_name: netbootxyz
hostname: netbootxyz
environment:
- NGINX_PORT=80
- WEB_APP_PORT=3000
volumes:
- /etc/localtime:/etc/localtime:ro
- /home/fejy/docker/netbootxyz/config:/config
- /home/fejy/docker/netbootxyz/assets:/assets
ports:
- 69:69/udp
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000"]
interval: 2s
timeout: 2s
retries: 10
start_period: 3s
networks:
- proxy
- netbootxyz
labels:
# web configuration interface
- "traefik.enable=true"
- "traefik.http.routers.netbootxyz.entrypoints=web"
- "traefik.http.routers.netbootxyz.rule=Host(`netbootxyz.nearfuture`)"
- "traefik.http.routers.netbootxyz.service=netbootxyz"
- "traefik.http.services.netbootxyz.loadbalancer.server.port=3000"
- "traefik.http.services.netbootxyz.loadbalancer.passhostheader=true"
- "traefik.docker.network=proxy"
# NGINX server for hosting assets
- "traefik.http.routers.netboot-assets.entrypoints=web"
- "traefik.http.routers.netboot-assets.rule=Host(`netboot-assets.nearfuture`)"
- "traefik.http.routers.netboot-assets.service=netboot-assets"
- "traefik.http.services.netboot-assets.loadbalancer.server.port=80"
- "traefik.http.services.netboot-assets.loadbalancer.passhostheader=true"
networks:
proxy:
name: proxy
external: true
netbootxyz:
name: netbootxyz