Merge pull request #5 from fawaf/master

add example docker-compose file
This commit is contained in:
Antony Messerli 2021-12-09 19:56:47 -06:00 committed by GitHub
commit e60776543d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 23 additions and 21 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
go.sh go.sh
docker-compose.yml

View File

@ -50,24 +50,9 @@ Start the container with the same parameters used above. If the same folders are
### docker-compose ### docker-compose
```yaml 1. Copy docker-compose.yml.example to docker-compose.yml
--- 1. Edit as needed
version: "2.1" 1. Run `docker-compose up -d netbootxyz` to start containers in the background
services:
netbootxyz:
image: ghcr.io/netbootxyz/netbootxyz
container_name: netbootxyz
environment:
- MENU_VERSION=2.0.47 # optional
volumes:
- /path/to/config:/config # optional
- /path/to/assets:/assets # optional
ports:
- 3000:3000
- 69:69/udp
- 8080:80 #optional
restart: unless-stopped
```
#### Updating the image with docker-compose #### Updating the image with docker-compose

View File

@ -0,0 +1,16 @@
---
version: "2.1"
services:
netbootxyz:
image: ghcr.io/netbootxyz/netbootxyz
container_name: netbootxyz
environment:
- MENU_VERSION=2.0.47 # optional
volumes:
- /path/to/config:/config # optional
- /path/to/assets:/assets # optional
ports:
- 3000:3000
- 69:69/udp
- 8080:80 #optional
restart: unless-stopped