Fix Directory Hardcodes, Documentation Improvements (#10)

* Improve the main crontab example.

* Remove /opt/Docker hardcodes.

* Add periods.

* Improve readability.

* Begin removing hardcoded path from the bin files.

* Update main README to no longer enforce hardcoded path. Other improvements.

* Add the load folder with a README.

* Add load folder and its README.

* Improve reverse proxy text files.

* Switch to tabs.

* Update all scripts for tabs, DOCKER_HOME, and comments.

* Let users know the directory choice is optional.

* Fix environment file.

* Add more details for the reverse proxy load balancing.

* Don't actually listen for postgres.

* Fix comments on source file.

* Be more explicit on the pathing.
This commit is contained in:
2023-07-23 14:51:48 -07:00
committed by GitHub
parent e383520ebb
commit 8602f7ada2
18 changed files with 150 additions and 77 deletions

View File

@ -13,13 +13,15 @@ product's self-built solutions can be found below.
git clone https://github.com/Hyperling/docker $PROJECT_DIR
```
1. Add your Afraid DNS account key to $PROJECT_DIR/Config/DynamicDNS/private.key
Account key can be found [here](https://freedns.afraid.org/dynamic/v2/).
1. Add your user key to `$PROJECT_DIR/Config/DynamicDNS/private.key`. The key can
be found on [this page](https://freedns.afraid.org/dynamic/v2/) after signing in.
1. Add this line to the system's cron scheduling using a command like `crontab -e`.
The sleep waits anywhere from 0 to 55 minutes due to the
[Random/10](https://tldp.org/LDP/abs/html/randomvar.html).
```
5 * * * * $PROJECT_DIR/Config/DynamicDNS/update_dns.sh
@hourly sleep $(( $RANDOM / 10 )); $PROJECT_DIR/Config/DynamicDNS/update_dns.sh
```
### TESTING
@ -61,6 +63,6 @@ and preferably add a 30-45 second sleep so that you do not hit near :00 seconds.
### No-IP.org Instructions
Please see this guide on installing the Dynamic Update Client (DUC).
Please see the official guide on installing the Dynamic Update Client (DUC).
https://my.noip.com/dynamic-dns/duc