-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.yaml
37 lines (36 loc) · 1.35 KB
/
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
runtime: php81
env: standard # let app engine know we use flexible environment
runtime_config:
document_root: public #folder where index.php is
# Ensure we skip ".env", which is only for local development
env_variables:
# Put production environment variables here.
APP_ENV: local # or production
APP_DEBUG : true # or false
APP_KEY: base64:aZpQDX7zBq3yHDSSdeRoGzdl6GNxeTWbAe8prxVxaLQ=
#go to generate app key paragraf in this tutorial
CACHE_DRIVER: database
# instead of putting the cache in the database I recommend using redis
SESSION_DRIVER: database #or file since both work
APP_LOG: daily
APP_TIMEZONE: UTC #your timezone of choice
# follow the part of the tutorial on setting up your SQL database
DB_CONNECTION: mysql
DB_HOST: localhost
DB_DATABASE: c-ditech
DB_USERNAME: root
DB_PASSWORD:
DB_SOCKET: /cloudsql/instance_name
QUEUE_DRIVER: database #in case you execute queued jobs
MAIL_DRIVER: smtp
MAIL_HOST:
MAIL_PORT:
MAIL_USERNAME:
MAIL_PASSWORD:
LOG_DELETE: true # this is a parameter added by us in the project .env file. You can add here any setting you would add to your .env file
GOOGLE_VISION_PROJECT_ID : project_id
#we need this for the flex environment
beta_settings:
# for Cloud SQL, set this value to the Cloud SQL connection name,
# e.g. "project:region:cloudsql-instance"
cloud_sql_instances: project:cloudsql-instance