171 Commits

Author SHA1 Message Date
Captain-Knots
3b677cd582 update to not require a 'load balancer' section 2024-01-29 19:53:10 -06:00
Captain-Knots
a21d71cb62 final update (lol) 2023-12-05 17:50:12 -06:00
Captain-Knots
c06c85fd1b logging update 2023-12-05 17:44:22 -06:00
Captain-Knots
c86f56c5b7 added functionality for loadBalancer 2023-12-05 17:40:35 -06:00
Brett Duncan
7c167c70b4
Update cloudflare-ddns.py
uncomment updateLoadBalancer
2023-12-05 16:57:07 -06:00
Timothy Miller
9a295bbf91
Merge pull request #127 from adamantike/fix/copy-dependencies-from-stage
Reduce Docker image size by only copying pip installed dependencies
2023-10-12 02:15:43 -04:00
Timothy Miller
fecf30cd2a
Merge pull request #139 from Suyun114/ttl-patch
Add TTL set to 1 (auto)
2023-10-12 02:10:52 -04:00
Timothy Miller
f7d1ff8687
Merge pull request #140 from Nevah5/master
Fixed example config for load balancing support in README.md
2023-10-12 02:10:10 -04:00
Timothy Miller
9eb395031e
Merge pull request #137 from timothymiller/dependabot/pip/requests-2.31.0
Bump requests from 2.28.2 to 2.31.0
2023-07-23 16:15:58 -04:00
Nevah5
a8a7ed1e5f Fixed example config for load balancing support in README.md 2023-06-04 20:34:14 +02:00
Suyun
060257fe12
Add TTL set to 1 (auto) 2023-06-01 19:35:04 +08:00
dependabot[bot]
4be08d8811
Bump requests from 2.28.2 to 2.31.0
Bumps [requests](https://github.com/psf/requests) from 2.28.2 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.28.2...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-23 06:13:44 +00:00
Michael Manganiello
0ca623329a Reduce Docker image size by only copying pip installed dependencies
Currently, the multi-stage Docker build makes the `release` stage
inherit from `dependencies`, which will include any files created by the
`pip install` process in the final image.

By using `pip install --user` to make dependencies be installed in
`~/.local`, we can only copy those files into the final image, reducing
the image size:

```
cloudflare-ddns-fix-applied     latest            68427bd7c88d   3 minutes ago   54.6MB
cloudflare-ddns-master          latest            2675320b651d   8 minutes ago   65.9MB
```

A good resource going deeper on how this approach works can be found at
https://pythonspeed.com/articles/multi-stage-docker-python/, solution 1.
2023-02-22 10:26:02 -03:00
Timothy Miller
6e92fc0d09 Fix load balancer errors 2023-02-15 19:28:08 -05:00
Timothy Miller
82b97f9cda Updated Load Balancing docs 2023-02-15 17:32:14 -05:00
Timothy Miller
190b90f769
Merge pull request #120 from DeeeeLAN/master
[feature] Add load balancer support
2023-02-15 17:27:03 -05:00
Timothy Miller
fff882be11 Revert config-example.json options for netif 2023-02-15 17:26:55 -05:00
Timothy Miller
713f0de5b0 Updated README.md 2023-02-15 17:15:03 -05:00
Timothy Miller
414ef99f96 Updated docker compose version to 3.9 2023-02-15 17:13:42 -05:00
Timothy Miller
ed65aff55f Revert netif changes for now 2023-02-15 17:05:00 -05:00
Timothy Miller
cb7b1804cf [feature] Extract IP address from netif credit: @comicchang 2023-02-15 16:14:22 -05:00
Timothy Miller
c135a7d343
Merge pull request #121 from davide125/systemd
Add systemd service and timer
2023-02-15 15:39:26 -05:00
Timothy Miller
af347f89b9 Update interpreter of shebang to python3 2023-02-15 15:37:06 -05:00
Timothy Miller
9824815e12 Git history folder added to gitignore 2023-02-15 15:30:36 -05:00
Timothy Miller
0dbd2f7c2b Added dependabot 2023-02-15 15:28:58 -05:00
Timothy Miller
e913d94eb8 Fix wildcard subdomain support 2023-02-15 15:22:06 -05:00
Timothy Miller
83fa74831e Updated README.md 2023-02-15 15:17:08 -05:00
Timothy Miller
f22ec89f3e Updated README.md 2023-02-15 15:15:23 -05:00
Timothy Miller
bd3f4a94cb Updated README.md 2023-02-15 15:05:59 -05:00
Timothy Miller
7212161f7b Updated README.md 2023-02-15 15:01:28 -05:00
Timothy Miller
2ad7e57d65 Added support for secondary IP checks if primary fails (Fixes #111)
Updated requests module version
2023-02-15 14:07:17 -05:00
Timothy Miller
5c909e25cd Updated README.md 2023-02-15 13:25:07 -05:00
Davide Cavalca
2c2e929d17 Add systemd service and timer 2023-01-29 15:28:11 -08:00
Dillan Mills
d92976993d Add load balancer slupport 2023-01-27 15:08:10 -07:00
Timothy Miller
7e6d74f1f6 Onboarding experience improved 2022-10-30 17:54:32 -04:00
Timothy Miller
9855ca6249 Update documentation 2022-10-30 17:47:46 -04:00
Timothy Miller
e0f0280656 Upgrade requests to 2.28.1 2022-10-30 17:45:41 -04:00
Timothy Miller
e86695f77d Updated documentation 2022-10-30 17:43:04 -04:00
Timothy Miller
b0a396b8f1
Update README.md 2022-08-31 16:07:34 -04:00
Timothy Miller
c648b81b25 Fixed typo in README 2022-07-31 22:46:30 -04:00
Timothy Miller
ceeb011366 Updated the domain used to fetch IPv4 from cloudflare. 2022-07-31 15:55:59 -04:00
Timothy Miller
f0357c71c1 Cleaned up code smell 2022-07-31 03:32:05 -04:00
Timothy Miller
6933cbe27f Added compatibility for legacy configs 2022-07-31 03:06:08 -04:00
Timothy Miller
566ad3a7cf Cleaned up code smells 2022-07-31 02:44:38 -04:00
Timothy Miller
3287447e0a Added 🗣️ Call to action for Docker environment variable support 2022-07-30 21:52:27 -04:00
Timothy Miller
62c360cff2 Added 🗣️ Call to action for Docker environment variable support 2022-07-30 21:48:12 -04:00
Timothy Miller
ae7be14004 Synced repeat interval with TTL 2022-07-30 21:44:59 -04:00
Timothy Miller
cb539ad64d Fixed config path bugs in Docker 2022-07-30 21:24:20 -04:00
Timothy Miller
a4d29036c5 Updated cdn-cgi/trace domain from 1.1.1.1 to cloudflare.com 2022-07-30 21:22:54 -04:00
Timothy Miller
ef4e3a5787 Added configurable TTL option, plus documentation 2022-07-30 21:20:41 -04:00