Ajout du docker-compose

This commit is contained in:
Eliott Ude 2024-02-22 22:41:04 +01:00
commit e92fee12bd

18
docker-compose.yml Normal file
View File

@ -0,0 +1,18 @@
---
version: "2.1"
services:
netbootxyz:
image: ghcr.io/netbootxyz/netbootxyz
container_name: netbootxyz
environment:
- MENU_VERSION=2.0.47 # optional
- NGINX_PORT=80 # optional
- WEB_APP_PORT=3000 # optional
volumes:
- /path/to/config:/config # optional
- /path/to/assets:/assets # optional
ports:
- 3000:3000 # optional, destination should match ${WEB_APP_PORT} variable above.
- 69:69/udp
- 80:80 # optional, destination should match ${NGINX_PORT} variable above.
restart: unless-stopped