-
Notifications
You must be signed in to change notification settings - Fork 81
/
specs.yaml
53 lines (53 loc) · 1012 Bytes
/
specs.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
46
47
48
49
50
51
52
53
# Define app settings, see "App Spec" in digital ocean settings
alerts:
- rule: DEPLOYMENT_FAILED
- rule: DOMAIN_FAILED
domains:
- domain: gateway.azimutt.app
type: PRIMARY
envs:
- key: NODE_ENV
scope: BUILD_TIME
value: development
- key: NODE_ENV
scope: RUN_TIME
value: production
- key: API_HOST
scope: RUN_TIME
value: 0.0.0.0
- key: API_PORT
scope: RUN_TIME
value: "8080"
- key: CORS_ALLOW_ORIGIN
scope: RUN_TIME
value: '*'
- key: LOG_LEVEL
scope: RUN_TIME
value: info
- key: PORT
scope: RUN_AND_BUILD_TIME
value: "8080"
ingress:
rules:
- component:
name: gateway
match:
path:
prefix: /
name: gateway
region: fra
services:
- name: gateway
github:
repo: azimuttapp/azimutt
branch: main
deploy_on_push: true
source_dir: gateway
environment_slug: node-js
build_command: npm run build:do
run_command: npm run preview
instance_count: 1
instance_size_slug: apps-s-1vcpu-0.5gb
http_port: 8080
health_check:
http_path: /ping