Added additional Docker specific setting named PDA_LOCAL_PATH. This setting is used by local deployment Docker files to determine the host machine path to the project root. Updated project README.md to remove redundant documentation links. Updating the settings.md documentation to reflect the aforementioned setting.

This commit is contained in:
Matt Scott 2021-12-08 11:56:56 -05:00
parent 16b37969ff
commit 843930e44d
4 changed files with 11 additions and 5 deletions

View file

@ -37,9 +37,7 @@ Once you have deployed the app through one of the supported methods, You should
## Configuring PowerDNS-Admin
The app has a [plethora of settings](https://github.com/ngoduykhanh/PowerDNS-Admin/blob/master/docs/settings.md) that may be configured through a number of methods. Check out the settings documentation [here](https://github.com/ngoduykhanh/PowerDNS-Admin/blob/master/docs/settings.md).
[PowerDNS Admin Settings](https://github.com/ngoduykhanh/PowerDNS-Admin/blob/master/docs/settings.md)
The app has a plethora of settings that may be configured through a number of methods. Check out the settings documentation [here](https://github.com/ngoduykhanh/PowerDNS-Admin/blob/master/docs/settings.md).
## Screenshots
![dashboard](https://user-images.githubusercontent.com/6447444/44068603-0d2d81f6-9fa5-11e8-83af-14e2ad79e370.png)

View file

@ -69,7 +69,9 @@ services:
ports:
- "8080:80"
volumes:
- /PATH/TO/YOUR/GIT/PROJECT/ROOT:/srv/app
- type: bind
source: ${PDA_LOCAL_PATH}
target: /srv/app
pdns:
image: azoriansolutions/powerdns-nameserver:4.5.2-alpine-3.14-mysql

View file

@ -61,7 +61,9 @@ services:
ports:
- "8080:80"
volumes:
- /PATH/TO/YOUR/GIT/PROJECT/ROOT:/srv/app
- type: bind
source: ${PDA_LOCAL_PATH}
target: /srv/app
pdns:
image: azoriansolutions/powerdns-nameserver:4.5.2-alpine-3.14-mysql

View file

@ -26,6 +26,10 @@ This setting controls what group ID is used for various container setup processe
This setting controls what group name is used for various container setup processes during image building. This setting is useful if you're mounting a host path over the /srv/app volume and need to match your host file system permissions.
#### PDA_LOCAL_PATH
This setting controls with path on the Docker host machine will be used as the project root for local development.
## App Settings
\* denotes a legacy setting key that will be deprecated.