Add valid args
Signed-off-by: Adam Warner <me@adamwarner.co.uk>
This commit is contained in:
parent
7011839026
commit
4c2d0ab34f
|
@ -209,10 +209,15 @@ To reconfigure Pi-hole you'll either need to use an existing container environme
|
|||
|
||||
### Building an image with alternative component branches
|
||||
|
||||
Occaisionally you may need to try an alternative branch of one of the components (`core`,`web`,`ftl`). On bare metal you would run, for example, `pihole checkout core custombranchname`, however in Docker world we have disabled this command as it can cause unpredictable results.
|
||||
Occasionally you may need to try an alternative branch of one of the components (`core`,`web`,`ftl`). On bare metal you would run, for example, `pihole checkout core custombranchname`, however in Docker world we have disabled this command as it can cause unpredictable results.
|
||||
|
||||
The preferred method is to clone this repository and rebuild the image with the custom branch name passed in as an arg, e.g `docker buildx build src/. --tag pihole_custom --build-arg CORE_BRANCH=custombranchname --no-cache`, and then redeploy your stack with this new image (In this case you should have a local image named `pihole_custom`, but you can call it whatever you want)
|
||||
|
||||
Valid args are:
|
||||
- `CORE_BRANCH`
|
||||
- `WEB_BRANCH`
|
||||
- `FTL_BRANCH`
|
||||
|
||||
### Pi-hole features
|
||||
|
||||
Here are some relevant wiki pages from [Pi-hole's documentation](https://github.com/pi-hole/pi-hole/blob/master/README.md#get-help-or-connect-with-us-on-the-web). The web interface or command line tools can be used to implement changes to pihole.
|
||||
|
|
Loading…
Reference in New Issue