text-semantic-search/semantic_search/app.yaml (25 lines of code) (raw):

runtime: python env: flex entrypoint: gunicorn --bind :$PORT main:app --timeout 1800 --threads 12 runtime_config: python_version: 2 service: wiki-semantic-search readiness_check: path: "/readiness_check" check_interval_sec: 10 timeout_sec: 5 failure_threshold: 2 success_threshold: 2 app_start_timeout_sec: 1800 manual_scaling: instances: 1 resources: cpu: 6 memory_gb: 24 disk_size_gb: 50 skip_files: - ^(.*/)?\..*$ - ^(.*/)?.*\_test.py$ - ^(.*/)?.*\.index$ - ^(.*/)?.*\.mapping$ - ^(.*/)?.*\.py[co]$