I have a app.yaml similar to this
runtime: php
env: flex
runtime_config:
document_root: Web
whitelist_functions: exec
env_variables:
DATABASE_DSN:
mysql:unix_socket=/cloudsql/PROJECTNAME:europe-west3:production;dbname=DATABASE
DATABASE_CREDENTIALS_USER: application
DATABASE_CREDENTIALS_PASSWORD: 'PASSWORD'
beta_settings:
cloud_sql_instances: PROJECTNAME:europe-west3:production
after deployment I have following containers running on a instance, that I
access via SSH after activating debug
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES39bcf36df191
eu.gcr.io/PROJECTNAME/appengine/default.20170920t100932@sha256:ae8ce69ffe994d200d889c5e30bd48a2d5642e2e1d0632bc351e83a8fd6fef96
"/usr/bin/supervisord" 2 hours ago Up 2 hours 172.17.0.1:8080->8080/tcp
gaeapp8c60858d1ef4 gcr.io/google_appengine/cloud-sql-proxy
"/cloud_sql_proxy -di" 2 hours ago Up 2 hours gigantic_paref520dd07173a
gcr.io/google_appengine/api-proxy "/proxy" 2 hours ago Up 2 hours
api2bd7417c099b gcr.io/google_appengine/nginx-proxy "/var/lib/nginx/bin/s"
2 hours ago Up 2 hours 8080/tcp, 8090/tcp, 0.0.0.0:8443->8443/tcp
nginx_proxy7526979828d6 gcr.io/google_appengine/fluentd-logger
"/opt/google-fluentd/" 2 hours ago Up 2 hours fluentd_logger
When access the container gaeapp and enter printenv I can't see the
env_variables, that I'm using for the application to create a connection to
the cloud_sql instance. Is there any missing configuration or similar that
can explain why the env_variables are not transferred?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-appengine.
To view this discussion on the web visit
https://groups.google.com/d/msgid/google-appengine/5146754b-5c07-42bf-882a-2635ec2d7df1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.