Created
June 27, 2017 16:06
-
-
Save SerheyDolgushev/fbffa195d319b4597f2b527feb8ea3d6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file describes an application. You can have multiple applications | |
# in the same project. | |
# The name of this app. Must be unique within a project. | |
name: theoneweekboutique | |
# The type of the application to build. | |
type: php:5.4 | |
build: | |
flavor: none | |
# The relationships of the application with services or other applications. | |
# The left-hand side is the name of the relationship as it will be exposed | |
# to the application in the PLATFORM_RELATIONSHIPS variable. The right-hand | |
# side is in the form `<service name>:<endpoint name>`. | |
relationships: | |
database: "mysqldb:mysql" | |
# The configuration of app when it is exposed to the web. | |
web: | |
locations: | |
"/": | |
# The public directory of the app, relative to its root. | |
root: "" | |
# The front-controller script to send non-static requests to. | |
passthru: "/index.php" | |
rules: | |
"^/var/([^/]+/)?storage/images-versioned/.*": | |
passthru: "/index_cluster.php" | |
"^/var/([^/]+/)?storage/images/.*": | |
passthru: "/index_cluster.php" | |
"^/var/([^/]+/)?cache/public/(stylesheets|javascript)": | |
passthru: "/index_cluster.php" | |
# The size of the persistent disk of the application (in MB). | |
disk: 3576 | |
# The mounts that will be performed when the package is deployed. | |
mounts: | |
"/var": "shared:files/var" | |
"/mount": "shared:files/mount" | |
# PHP extensions | |
runtime: | |
extensions: | |
- imagick | |
# The hooks that will be triggered when the package is deployed. | |
hooks: | |
# Build hooks can modify the application files on disk but not access any services like databases. | |
build: | | |
php bin/php/ezpgenerateautoloads.php -o | |
php bin/php/ezpgenerateautoloads.php | |
# Deploy hooks can access services but the file system is now read-only. | |
deploy: | | |
php bin/php/ezcache.php --clear-all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment