-
-
Notifications
You must be signed in to change notification settings - Fork 43
/
.platform.app.yaml
61 lines (46 loc) · 1022 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: app
type: php:8.1
runtime:
extensions:
- mbstring
- sodium
- ctype
- iconv
- redis
variables:
php:
opcache.preload: /app/config/preload.php
relationships:
redis: "github:redis"
build:
flavor: none
dependencies:
php:
composer/composer: "^2"
web:
locations:
"/":
root: "public"
expires: 1h
passthru: "/index.php"
disk: 512
mounts:
"/var": {source: local, source_path: var}
hooks:
build: |
set -x -e
curl -fs https://get.symfony.com/cloud/configurator | (>&2 bash)
(>&2
php-ext-install redis 5.3.2
symfony-build
)
deploy: |
set -x -e
(>&2 symfony-deploy)
crons:
comment-non-mergeable-pull-requests:
spec: '*/10 * * * *'
cmd: |
if [ "$PLATFORM_BRANCH" = master ]; then
croncape bin/console comment-non-mergeable-pull-requests --apply
fi