forked from syrusakbary/wordpress
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathwasmer.toml
52 lines (46 loc) · 918 Bytes
/
wasmer.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[package]
entrypoint = "run"
[dependencies]
"php/php" = "=8.3.403"
"amin/bash" = "*"
[fs]
"/app" = "."
[[command]]
name = "run"
module = "php/php:php"
runner = "wasi"
[command.annotations.wasi]
main-args = [
"-t",
"/app",
"-S",
"localhost:8080",
"-d",
"memory_limit=256M",
"-d",
"max_execution_time=600",
"-d",
"max_input_time=600",
"-d",
"max_input_vars=4096",
"-d",
"upload_max_filesize=1024M",
"-d",
"post_max_size=1024M",
]
[[command]]
name = "install"
module = "php/php:php"
runner = "wasi"
[command.annotations.wasi]
main-args = ["-d", "opcache.enable=0", "-f", "/app/wasmer/install.php"]
[[command]]
name = "install-language"
module = "php/php:php"
runner = "wasi"
[[command]]
name = "wp-cron"
module = "php/php:php"
runner = "wasi"
[command.annotations.wasi]
main-args = ["/app/wp-cli/php/boot-fs.php", "cron", "event", "run", "--due-now"]