FROM gcr.io/google-appengine/jetty9
RUN apt-get -q update && \
apt-get -y -q --no-install-recommends -t jessie-backports install openjdk-8-jdk && \
apt-get clean && \
rm /var/lib/apt/lists/*_*
ADD backend.war $JETTY_BASE/webapps/root.war
WORKDIR $JETTY_BASE
RUN java -jar $JETTY_HOME/start.jar --approve-all-licenses \
--add-to-startd=jmx,stats,hawtio,requestlog \
&& chown -R jetty:jetty $JETTY_BASE
And finally the app.yaml looks like:
runtime: custom
env: flex
handlers:
- url: /.*
script: this field is required, but ignored
secure: always
resources:
cpu: 2
memory_gb: 10
automatic_scaling:
min_num_instances: 1
max_num_instances: 10
cool_down_period_sec: 120
cpu_utilization:
target_utilization: 0.5
env_variables:
USE_GAE_MEMCACHE: 1
--
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 google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/9a919731-3f0a-4432-94c1-833c2024dbd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To post to this group, send email to google-a...@googlegroups.com.
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/9a919731-3f0a-4432-94c1-833c2024dbd6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "Google App Engine" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-appengine/WO8bS2d9Xu4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-appengine+unsubscribe@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
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/8f87a375-0b4a-4bb5-9c8a-864189af7c5b%40googlegroups.com.