c7a402cf26
Fix SC2162
...
See: https://www.shellcheck.net/wiki/SC2162
2024-05-17 01:54:52 +02:00
e6110e37f2
Use local variables
2024-05-17 01:52:44 +02:00
4cb7286fc4
Refactor to new S6 format
2024-05-17 01:37:37 +02:00
63832d68b4
Use /command/with-contenv instead [HOTFIX]
2024-05-17 00:46:42 +02:00
250227f3e1
Refactor: Change structure. Remove strictness
2023-03-22 03:24:27 +01:00
90f38805fa
Rename 20-install-plugins -> 20-install-resources (more generic)
2023-03-22 02:38:07 +01:00
ef47e1b2b9
Add wp-theme script for managing themes
2023-03-22 02:35:46 +01:00
1b62dba10a
Add delete functionality
2023-03-22 02:34:13 +01:00
53ab34b35e
Rename to CONCURRENCY_LIMIT to WP_PLUGINS_INSTALL_CONCURRENCY and set default value to 5
2023-03-21 12:48:08 +01:00
47ba7873f1
Implement proccess locking for plugin installer in order to prevent script from running on multiple instances at the same time
2023-03-21 08:06:47 +01:00
8df891a400
Refactor plugin installer
...
- Fixes issue where installation is dependent of existence of working database connection
- Overall improvements
- Move out some logic to wp-plugin script
- Use curl to download plugins, instead of wp cli
2023-03-21 01:40:07 +01:00
c26a0afd1f
Define concurrency limit with variable
2023-03-17 21:14:26 +01:00
aa68d5ba82
Limit concurrency to 4 plugins per batch
...
This should help avoid concurrency related issues, sacrificing a little bit of performance
2023-03-17 21:00:06 +01:00
e2ed315ff2
Use indent of 4 spaces
2023-03-17 19:43:44 +01:00
f387ec0773
Revert "Improve plugin installer reliability"
...
This reverts commit f81ec4c67e
.
2023-03-15 02:54:53 +01:00
c41860611d
Revert "Mark PLUGIN_PATH as mandatory variable"
...
This reverts commit 4fc19fa5e7
.
2023-03-15 02:54:31 +01:00
4fc19fa5e7
Mark PLUGIN_PATH as mandatory variable
2023-03-15 02:38:24 +01:00
f81ec4c67e
Improve plugin installer reliability
2023-03-15 02:33:50 +01:00
64722d5b6c
Add healthcheck script and mechanism to make unhealthy if WP install integrity is compromised
2023-01-24 01:42:53 +01:00
fedfaeafc4
Apply patch during build time
2023-01-24 01:24:46 +01:00
bb3f62ef10
Initialize WordPress during build time
2023-01-23 23:03:06 +01:00
a72f393567
Remove nginx leftover
2023-01-23 22:46:31 +01:00
dd43a2e929
Remove WEB_ROOT env variable (legacy)
2023-01-23 19:50:30 +01:00
fdb3c6727e
Replace NGINX + PHP-FPM combo with NGINX Unit application server
2023-01-22 20:07:53 +01:00
88b4e4514a
Add http.d directory
...
Missing since e344128779
2023-01-21 02:59:27 +01:00
e344128779
Remove remaining ties to nlss/php-nginx:7.4 image
2023-01-20 18:00:51 +01:00
6d526d71e1
Remove rootfs/usr/local/etc/php-fpm.d/ ties to nlss/php-nginx:7.4 image
2023-01-20 17:40:55 +01:00
550bcea00d
Remove /etc/services.d/php-fpm/ ties to nlss/php-nginx:7.4 image
2023-01-20 17:38:08 +01:00
68da285e90
Remove /etc/cont-init.d ties to nlss/php-nginx:7.4 image
2023-01-20 17:32:48 +01:00
ec87f65421
Apply executable permissions
2022-07-26 21:40:00 +02:00
8a8b5eb02e
Add exit handler and cleanup the code
2022-07-26 21:38:26 +02:00
f0786988ef
Fix typo
2022-07-26 21:34:35 +02:00
264a8bba25
Add exit handler
2022-07-26 21:33:28 +02:00
8b388ae116
Cleanup the code and use strict environment variables
2022-07-26 21:24:26 +02:00
a03f12990b
Update regex so only last zero matches
...
Fixes the bug with newer sed versions
2022-07-25 23:51:18 +02:00
xZero707
1f20e06727
Install plugins concurrently in order to improve perfomance
...
- No longer fatal if plugin install failed. Only warning is issued.
2022-01-22 01:05:52 +01:00
xZero707
85d377192a
Make wp-admin/update-core.php read-only
...
It has been reportedly replaced with original file by some security plugins.
2022-01-21 20:11:38 +01:00
xZero707
46e45bfa19
Add missing runtime libraries, and fix patch filename/path
2021-09-27 03:29:55 +02:00
xZero707
827f27fb7f
Add multiarch support and GitHub actions. Support even older versions with newest features
2021-09-22 23:46:14 +02:00
xZero707
1a55ef8a9a
Update WordPress 5.7.2 -> 5.8.0
2021-09-01 21:03:25 +02:00
xZero707
9659268e75
Update WordPress 5.7.1 -> 5.7.2
2021-05-28 21:06:51 +02:00
xZero707
6878ea48e0
Update WordPress 5.6.2 -> 5.7.0
...
+ Small update of logic in 10-init-wordpress
2021-03-19 19:34:19 +01:00
xZero707
db04d0acf1
Optimise further
2021-02-15 01:17:40 +01:00
xZero707
910f24dbcf
Rename variable so it makes more sense
2021-02-15 01:16:24 +01:00
xZero707
e9c35c6bd2
Optimize plugin installer performance
...
Implement manual plugin existence check. WP-CLI is quite slow and processing large list of plugins delays container boot too much
2021-02-15 01:14:42 +01:00
xZero707
b701163fba
Use correct env name
2021-02-09 21:57:12 +01:00
xZero707
2aaf7abedd
Add automated plugins installer
2021-02-09 21:27:12 +01:00
xZero707
9aabedc52b
Remove wp-config.php from removal list
2021-02-09 21:13:14 +01:00
xZero707
c4dc8897f9
Add support for WP reinstallation based on WP_VERSION env variable. Refactor code
2021-02-09 20:38:03 +01:00
xZero707
ba6ebfb468
Update WordPress 5.5.3 -> 5.6
2021-01-11 20:31:23 +01:00