-
Notifications
You must be signed in to change notification settings - Fork 1
/
.platform.app.yaml
45 lines (36 loc) · 983 Bytes
/
.platform.app.yaml
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
# The name of this application, which must be unique within a project.
name: 'app'
# The type key specifies the language and version for your application.
type: 'php:7.4'
# PHP Build flavor
build:
flavor: composer
# App relationships
relationships:
database: "db:mysql"
# Exposed locations to the web.
web:
locations:
'/':
root: 'web/public'
passthru: '/index.php'
index:
- index.php
scripts: true
allow: true
rules:
\.(css|js|gif|jpe?g|png|ttf|eot|woff2?|otf|cast|mp4|json|ico|svg?|cast|mp4|json|yaml|svg?|ttf)$:
expires: 4w
# The size of the persistent disk of the application (in MB).
disk: 2048
dependencies:
php:
wp-cli/wp-cli: "^2.2.0"
# Writable mounts
mounts:
'web/public/wp-content/uploads':
source: local
source_path: 'uploads'
'tmp':
source: local
source_path: 'temp'