mirror of
https://github.com/google/nomulus.git
synced 2025-05-02 04:57:51 +02:00
These build rules allow Bazel to generate the .ear and .war files which appcfg.sh (a tool that comes with the App Engine SDK) can then use to perform a deployment. Included in this CL are configurations for five separate production environments: production, sandbox, alpha, crash, and local. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=129163010
33 lines
1 KiB
XML
33 lines
1 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
|
|
|
|
<application>domain-registry</application>
|
|
<version>1</version>
|
|
<module>backend</module>
|
|
<threadsafe>true</threadsafe>
|
|
<sessions-enabled>true</sessions-enabled>
|
|
<instance-class>B4</instance-class>
|
|
<basic-scaling>
|
|
<max-instances>50</max-instances>
|
|
<idle-timeout>10m</idle-timeout>
|
|
</basic-scaling>
|
|
|
|
<system-properties>
|
|
<property name="java.util.logging.config.file"
|
|
value="WEB-INF/logging.properties"/>
|
|
<property name="google.registry.environment"
|
|
value="sandbox"/>
|
|
</system-properties>
|
|
|
|
<static-files>
|
|
<include path="/*.html" expiration="1d"/>
|
|
<include path="/assets/js/**" expiration="1d"/>
|
|
<include path="/assets/css/**" expiration="1d"/>
|
|
<include path="/assets/images/**" expiration="1d"/>
|
|
</static-files>
|
|
|
|
<!-- Prevent uncaught servlet errors from leaking a stack trace. -->
|
|
<static-error-handlers>
|
|
<handler file="error.html"/>
|
|
</static-error-handlers>
|
|
</appengine-web-app>
|