docker-compose.yml.example 569 B

123456789101112131415161718
  1. ---
  2. version: "2.1"
  3. services:
  4. netbootxyz:
  5. image: ghcr.io/netbootxyz/netbootxyz
  6. container_name: netbootxyz
  7. environment:
  8. - MENU_VERSION=2.0.47 # optional
  9. - NGINX_PORT=80 # optional
  10. - WEB_APP_PORT=3000 # optional
  11. volumes:
  12. - /path/to/config:/config # optional
  13. - /path/to/assets:/assets # optional
  14. ports:
  15. - 3000:3000 # optional, destination should match ${WEB_APP_PORT} variable above.
  16. - 69:69/udp
  17. - 8080:80 # optional, destination should match ${NGINX_PORT} variable above.
  18. restart: unless-stopped