forked from syrusakbary/wordpress
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathapp.yaml
More file actions
44 lines (44 loc) · 918 Bytes
/
app.yaml
File metadata and controls
44 lines (44 loc) · 918 Bytes
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
package: '.'
env:
OPENSSL_CONF: /etc/ssl/openssl.cnf
capabilities:
database:
engine: mysql
volumes:
- name: wp-content
mount: /app/wp-content
scaling:
mode: single_concurrency
jobs:
- name: installation
trigger: post-deployment
action:
execute:
command: install-wp
# Invoke cron with fetch.
# Currently disabled because it causes redundant instances to stay alive for
# minutes.
# - name: wp-cron
# trigger: '*/15 * * * *'
# action:
# fetch:
# path: /wp-cron.php
# timeout: '10m'
# Invoke cron with a separate instance.
- name: wp-cron
trigger: '*/15 * * * *'
action:
execute:
package: "php/php-eh@=8.3.404-beta.4"
command: php
cli_args:
- /app/wp-cli/php/boot-fs.php
- cron
- event
- run
- '--due-now'
volumes:
- name: wp-content
mount: /app/wp-content
kind: wasmer.io/App.v0
enable_email: true