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
Timothy Miller
2b9ebdeab2
Added exception handling for unhandled api requests
2022-07-30 20:28:54 -04:00
Timothy Miller
86976e5133
Added per-subdomain proxy flag to config.json
2022-07-30 20:24:27 -04:00
Timothy Miller
2401e7a995
Fixed directory not set when running script with crontab
2022-07-30 20:14:29 -04:00
Timothy Miller
8acd8e5f59
Added a catch all for * & @, which are common references to the root domain
2022-07-30 20:12:24 -04:00
Timothy Miller
0e0e9f9989
Fixed bug that caused the root domain to not update
2022-07-30 20:09:38 -04:00
Timothy Miller
464d2792b1
Fixed purgeUnknownRecords behavior
2022-07-30 20:07:36 -04:00
Timothy Miller
a9d25c743a
Create CODE_OF_CONDUCT.md
2021-10-30 22:13:17 -04:00
Timothy Miller
254e978971
Merge pull request #67 from favonia/python-version-check
2021-10-30 22:03:03 -04:00
favonia
bf6135739d
Simplify Python version checking
2021-10-30 16:15:37 -05:00
Timothy Miller
bc06202b35
Merge pull request #66 from rojosinalma/patch-1
...
Fixes Python version check
2021-10-30 16:22:46 -04:00
Rojo
eebbcfbbdf
Fixes Python version check
...
This fixes the Python version check.
float() cuts trailing zeroes:
```python
import sys
```
2021-10-30 20:55:52 +02:00
Timothy Miller
2a4d9530dd
Reduce unimportant logging
...
Original solution from here https://github.com/pypa/pip/issues/5900#issuecomment-490216395
2021-10-29 23:15:05 -04:00