| runtime: python |
| env: flex |
| entrypoint: gunicorn -c gunicorn.conf.py -b :$PORT main:app |
| service: |
| {% if debug %} debug {% else %} default {% endif %} |
| |
| runtime_config: |
| python_version: 2 |
| |
| resources: |
| cpu: 8 |
| memory_gb: 8 |
| |
| skip_files: |
| - ^(.*/)?#.*#$ |
| - ^(.*/)?.*~$ |
| - ^(.*/)?.*\.py[co]$ |
| - ^(.*/)?.*/RCS/.*$ |
| - ^(.*/)?\..*$ |
| - ^env/.*$ |
| |
| beta_settings: |
| cloud_sql_instances: {{ instance_connection_name }} |
| |
| env_variables: |
| DEBUG: {% if debug %} True {% else %} False {% endif %} |
| IS_SERVICE: True |
| ADMIN_PASSWORD_HASH: {{ admin_password_hash }} |
| CIDB_CRED_DIR: |
| {% if debug %} creds/cidb.dbg {% else %} creds/cidb {% endif %} |