-
Notifications
You must be signed in to change notification settings - Fork 7
/
app.yaml
39 lines (35 loc) · 1.03 KB
/
app.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#
# App.yaml for the Skrafl application on Google App Engine
#
# Copyright (C) 2024 by Miðeind ehf.
# Original author: Vilhjálmur Þorsteinsson
#
# Deploy with 'gcloud app deploy --no-promote --version=python3 app.yaml'
#
runtime: python311
entrypoint: gunicorn -b :$PORT -w 2 skrafl:app
instance_class: F2
automatic_scaling:
max_instances: 1
env_variables:
PROJECT_ID: skraflhjalp
handlers:
- url: /favicon.ico
static_files: static/favicon.ico
upload: static/favicon.ico
- url: /apple-touch-icon.png
static_files: static/touch-icon-ipad-retina.png
upload: static/touch-icon-ipad-retina.png
- url: /touch-icon-ipad.png
static_files: static/touch-icon-ipad.png
upload: static/touch-icon-ipad.png
- url: /touch-icon-ipad-retina.png
static_files: static/touch-icon-ipad-retina.png
upload: static/touch-icon-ipad-retina.png
- url: /touch-icon-iphone-retina.png
static_files: static/touch-icon-iphone-retina.png
upload: static/touch-icon-iphone-retina.png
- url: .*
secure: always
redirect_http_response_code: 301
script: auto