Questions tagged [app.yaml]

app.yaml is a configuration file for Google App Engine applications.

With app.yaml, you can configure your App Engine application. For Java apps, it allows you to configure your application more easily, and with fewer files, than with the standard web.xml configuration. You can use app.yaml as long as your application does not need to be portable to other Java application servers.

Source: developer.google.com (Java Application Configuration Using app.yaml)

309 questions
4
votes
0 answers

Google App Engine and SQL Instance connection with Laravel

I am trying to connect two Google SQL instances on Google App Engine using Laravel, but I don't know if I am doing it correctly. I am getting an error: Base table or view not found: 1146 Table ‘[DATABASE2].[TABLE]’ doesn't exist. When I only…
4
votes
2 answers

No URLMap entries found in application configuration for a Node.JS application

I am trying to deploy a node.js app to appEngine but he doesn't seem to like my app.yaml. D:\projects\Personal\Project>gcloud app deploy ERROR: (gcloud.app.deploy) An error occurred while parsing file: [D:\projects\Personal\Project\app.yaml] No…
Passero
  • 212
  • 1
  • 10
4
votes
1 answer

AppEngine app.yaml config for single page apps

I'm having trouble with my app.yaml file - I have a single-page app (Angular2 app) on AppEngine with a python runtime, but the deep links aren't appropriately routed. Here's my app.yaml file: runtime: python27 api_version: 1 threadsafe:…
Nick Jonas
  • 1,045
  • 2
  • 12
  • 22
4
votes
1 answer

AppEngine docs recommend command-line flags instead of app.yaml file elements

In the app.yaml documentation, Google makes the following recommendation of number of times: "The recommended approach is to remove the ELEMENT NAME [e.g. application] from your app.yaml file and instead, use a command-line flag to specify your…
Dima Gimburg
  • 1,286
  • 3
  • 16
  • 32
4
votes
1 answer

How can I set "Access-Control-Allow-Origin" headers for fontawesome's new CDN on Google Cloud Platform?

Fontawesome just released their own CDN and I am trying to use it on my Google Cloud's AppEngine like this: But it gives the following error in Chrome's console: "Font from origin…
Roel Vermeulen
  • 554
  • 7
  • 14
4
votes
1 answer

Node.js + static content served by Google App Engine

The Google Cloud documentation isn't very precise on the available syntax for the app.yaml file used for my Node.js application. I used the syntax described in the Python documentation for GAE, from which I've found the handlers mecanism: …
4
votes
3 answers

App Engine Could not guess mimetype for PHP files

Google App Engine, PHP, Mimetype, app.yaml, static_dir, script, static_files When I deploy my website, the PHP files are causing the error msg: Could not guess mimetype for This is the appl.yaml configuration file: application:…
Alan Wells
  • 27,268
  • 14
  • 81
  • 128
4
votes
2 answers

Define query param in app.yaml in Google Appengine

I would like to serve static files depending on the query parameter. More specificly I would like to serve prerendered snapshots for search engine optimalization. The pages are hosted on Google Appengine, so I'm using app.yaml to define these…
Remco Haszing
  • 5,879
  • 3
  • 33
  • 69
4
votes
4 answers

Error uploading Google App Engine Application

I am using a normal command to upload my application in Google App Engine (Python 2.7, SDK 1.8.9): appcfg.py --oauth2 update . But after a refactoring in my project there is an error in a regular expression for app.yaml (here is the code) The error…
coto
  • 2,150
  • 1
  • 18
  • 31
4
votes
0 answers

Adding multiple php files to yaml for google app engine

Here are the contents of my yaml file: application: myapp version: 1 runtime: php api_version: 1 handlers: url: /static static_dir: static url: /suggest/.* script: suggestions.php url: /.* script: index.php The static pages work fine, and so…
user2977732
  • 121
  • 1
  • 6
4
votes
1 answer

Defining CharSet for static HTML files

I just tried several times to define character set for static files served from Google App Engine and failed miserably. File does contain correct meta-equiv tag in header section of file:
3
votes
1 answer

My react frontend is not changing when I deploy to Google App Engine

My App.yaml configuration file is : runtime: nodejs12 handlers: # Serve all static files with url ending with a file extension - url: /(.*\..+)$ static_files: build/\1 upload: build/(.*\..+)$ # Catch all handler to index.html -…
3
votes
1 answer

GCP App Engine / Angular - Failed to load module script: The server responded with a non-JavaScript MIME type of "text/html"

I am trying to host an Angular app on Google Cloud Platform using the App Engine. The problem is that after I have succesfully deployed it, I am able to access it for about 2-3 minutes, hit refresh and not get HTTP error 404, but after those 2-3…
3
votes
1 answer

Using global variables across YAML files within Artillery

Is there any way in which I can say, define a URI that will be used in different .yml files for different Artillery load tests? I am wanting to use the same URI within a number of .yml files to define the target within the config section. I saw the…
physicsboy
  • 4,011
  • 10
  • 45
  • 85
3
votes
1 answer

Pass a list from YAML file to python

I am creating a web application using googles app engine with the python 3.7 standard environment. I am passing values from the app.yaml file to my main script, however, I cannot seem to pass a list from the yaml file to the main file. Here is my…
1
2
3
20 21