forked from parlez-vous/server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapi-server.yaml
41 lines (41 loc) · 904 Bytes
/
api-server.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
databases:
- cluster_name: db-postgresql-tor1-46625
db_name: app
db_user: prisma
engine: PG
name: db-postgresql-tor1-46625
production: true
version: "12"
name: api-server
region: nyc
services:
- dockerfile_path: Dockerfile
envs:
- key: DATABASE_URL
scope: RUN_TIME
value: ${db-postgresql-tor1-46625.DATABASE_URL}
- key: CRON_INTERVAL_MS
scope: RUN_TIME
value: "60000"
- key: PORT
scope: RUN_AND_BUILD_TIME
value: "8080"
- key: DISCORD_ERROR_WEBHOOK_URL
scope: RUN_TIME
value: ${_self.DISCORD_ERROR_WEBHOOK_URL}
github:
branch: master
repo: parlez-vous/server
http_port: 8080
health_check:
initial_delay_seconds: 3
period_seconds: 5
timeout_seconds: 3
success_threshold: 2
failure_threshold: 2
http_path: "/health-check"
instance_count: 1
instance_size_slug: basic-xs
name: api-server
routes:
- path: /