-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathapp.yaml
46 lines (45 loc) · 892 Bytes
/
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
40
41
42
43
44
45
name: journalist
region: nyc
services:
- name: journalist
envs:
- key: JOURNALIST_SERVER_BINDIP
value: 0.0.0.0
- key: DATABASE_URL
scope: RUN_TIME
value: "${journalistdb.DATABASE_URL}"
image:
registry_type: "DOCKER_HUB"
registry: "mrusme"
repository: "journalist"
tag: "latest"
http_port: 8000
health_check:
initial_delay_seconds: 10
period_seconds: 60
timeout_seconds: 30
http_path: /health
port: 8000
instance_count: 1
instance_size_slug: basic-xxs
routes:
- path: /health
preserve_path_prefix: true
- path: /web
preserve_path_prefix: true
- path: /api
preserve_path_prefix: true
cors:
allow_origins:
- regex: "*"
allow_methods:
- GET
- POST
- PUT
- DELETE
databases:
- name: journalistdb
engine: PG
production: true
db_user: journalist
db_name: journalist