Commit Graph

70 Commits

Author SHA1 Message Date
90645d32bd
Fix typos 2024-05-25 03:13:15 +02:00
3210cc265e
Add support for WordPress init - automated install 2024-05-25 02:25:33 +02:00
2ca07e8102
Check for database configuration 2024-05-24 00:37:10 +02:00
5c8959d938
Add new init service "init-wpconfig-verify" 2024-05-24 00:28:52 +02:00
80d592cf97
Move healthcheck and wp wrapper to src/wp-utils 2024-05-19 21:04:27 +02:00
f86a28f3a6
Move wp-* utils to it's own space in src/ 2024-05-19 21:01:52 +02:00
cca0dd0d5d
Make dependant on base 2024-05-19 02:14:58 +02:00
90cbfcbbd3
Move from wordpress-unit-base 2024-05-19 02:12:41 +02:00
a9350c0119
Make unitd dependency for crond to start 2024-05-19 00:32:06 +02:00
90ae49de10
Add double quotes to prevent splitting 2024-05-19 00:23:58 +02:00
0e70c8c099
Fix the bug where wait hangs forever 2024-05-17 07:25:10 +02:00
2fb3374416
Make init-webuser-permissions run only after init-verify-wordpress and init-install-resources 2024-05-17 02:42:21 +02:00
dc8930d6b8
Make unitd service dependant on init scripts 2024-05-17 02:02:22 +02:00
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