Category : google-app-engine

I have a node.js application that’s been Dockerized with gcr.io/google-appengine/nodejs and deploys and runs fine. Knowing that by default GAE will run the "start" script in the package.json I simply replaced what was already there with next start -p 8080 which runs no problem. I’d like to trigger an alternative script rather than "start" and ..

Read more

I am deploying a Docker image based on the official Google App Engine PHP Docker image: https://github.com/GoogleCloudPlatform/php-docker When I was building this image locally (without GAE in mind) I was basing my custom Docker image php:7.2-fpm-alpine3.11, which comes with docker-php-* scripts to make installing and configuring PHP extensions very simple. Now that I am deploying ..

Read more

I’m wondering if it’s possible to feed arguments, or environment variables into a Dockerfile used by AppEngine (flex environment). I’d like to use this command: COPY ${STAGE}/keycloak-files/realm-config/* /opt/jboss/keycloak/realm-config/ "STAGE" variable would allow to select the origin (I have a "staging" and "production" directory, containing different configurations). I’ve got two different app.yml files, one for each ..

Read more

I have spring boot application, that works in docker container, and database configuration is quiet simple: spring: datasource: url: jdbc:postgresql://35.225.172.41/postgres username: root password: somePassword Docker file is also simple as possible: FROM adoptopenjdk/openjdk14:slim ARG JAR_FILE=build/libs/*.jar COPY ${JAR_FILE} app.jar ENTRYPOINT ["java","-jar","/app.jar"] I find out how to access database when I run application locally. I add my ..

Read more

Browserslist: caniuse-lite is outdated. Please run: npx [email protected] –update-db2 After I deployed my Google App Engine app using Google Cloud Build, I got the above error. So I ran the command and got this message. npx: installed 6 in 2.26s Latest version: 1.0.30001237 Installed version: 1.0.30001237 caniuse-lite is up to date And I still get ..

Read more

I deployed a Python project on Google App Engine. As the project has a dependency on Java, I used a Docker container configuring two environments: Python + Java. However, when I make a call to my Python service in GAE it’s getting "java command is not found from this Python process. Please ensure Java is ..

Read more

I have 2 yaml files for Google App Engine. I’d like to change environment variables by yaml file, so I’m using env_variables in the yaml files. I also have a Dockerfile for building elixir container. The Dockerfile uses environment variables during the build. env_variables: REDISHOST: ‘XXX.XXX.XXX.XXX’ REDISPORT: ‘XXXX’ CLOUD_SQL_HOST: "XXXX:host" Although I defined environment variables ..

Read more

I have a SPA app dockerized with single Dockerfile (server side is by Kotlin with Spring boot, front end is by typescript with React) and am trying to host that docker image on GCP as web app. At first I thought Cloud Run cloud be appropriate, but it seems that Cloud Run is serverless service ..

Read more

It has been a few months since I last deployed a new version of my .NET Core 2.1 app engine service. For some reason this no longer works: BUILD Starting Step #0 Step #0: Pulling image: gcr.io/gcp-runtimes/[email protected]:f5552a5efdaf278a3124ea10fd1c9636b09fc9f98f9e620cbd71279797576b3f Step #0: sha256:f5552a5efdaf278a3124ea10fd1c9636b09fc9f98f9e620cbd71279797576b3f: Pulling from gcp-runtimes/aspnetcorebuild Step #0: bd0de8be231c: Pulling fs layer Step #0: 091745073ef1: Pulling fs layer ..

Read more