-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.yaml
More file actions
32 lines (26 loc) · 1007 Bytes
/
Copy pathapp.yaml
File metadata and controls
32 lines (26 loc) · 1007 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
# Use the PHP 7.3 runtime (BETA) by replacing "php72" below with "php73"
runtime: php72
# Defaults to "serve index.php" and "serve public/index.php". Can be used to
# serve a custom PHP front controller (e.g. "serve backend/index.php") or to
# run a long-running PHP script as a worker process (e.g. "php worker.php").
#
# Serve your app through a front controller at index.php or public/index.php.
runtime_config:
document_root: .
handlers:
# Serve images as static resources.
- url: /(.+\.(gif|png|jpg|css|js|map|PNG))$
static_files: \1
upload: .+\.(gif|png|jpg|css|js|map|PNG)$
- url: /.*
script: auto
entrypoint:
serve handler.php
env_variables:
# Replace USER, PASSWORD, DATABASE, and CONNECTION_NAME with the
# values obtained when configuring your Cloud SQL instance.
CLOUDSQL_USER: root
CLOUDSQL_DB: chatapp
CLOUDSQL_PASSWORD: M6tkP0l9e2zojrj6
CLOUDSQL_DSN: qwiklabs-gcp-04-df912a8ed331:asia-south1:chatdata
# [END gae_cloudsql_mysql_env]