Add bundle for Wordpress on uberspace

This commit is contained in:
2025-11-05 20:57:38 +01:00
parent 3c353d3608
commit 2da91aa878
2 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
max_execution_time = 180
memory_limit = 128M
post_max_size = 64M
upload_max_filesize = 64M
max_input_time = 60
max_input_vars = 3000

View File

@@ -0,0 +1,16 @@
uberspaceify = repo.libs.uberspace.Uberspaceify(node)
files = uberspaceify.files({
f'/home/{node.username}/etc/php.d/wordpress.ini': {
"source": "wordpress.ini",
"triggers": [
"action:uberspace-php-restart",
],
},
})
actions["uberspace-php-restart"] = {
"command": "uberspace tools restart php",
"triggered": True,
}