-
Notifications
You must be signed in to change notification settings - Fork 0
/
spec.yaml
61 lines (61 loc) · 2.12 KB
/
spec.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
54
55
56
57
58
59
60
61
name: fishy-edge
region: nyc1
services:
- name: fishy-edge
# Relative to the repository root
dockerfile_path: Dockerfile
source_dir: .
github:
# Depending on when you created the repository,
# the default branch on GitHub might have been named `master`
branch: main
# Deploy a new version on every commit to `main`!
# Continuous Deployment, here we come!
deploy_on_push: true
# !!! Fill in with your details
# e.g. LukeMathWalker/zero-to-production
repo: Austionian/fishy-edge
# Active probe used by DigitalOcean's to ensure our application is healthy
health_check:
# The path to our health check endpoint!
# It turned out to be useful in the end!
http_path: /health_check
# The port the application will be listening on for incoming requests
# It should match what we specified in our configuration/production.yaml file!
http_port: 8000
# For production workloads we'd go for at least two!
# But let's try to keep the bill under control for now...
instance_count: 1
instance_size_slug: basic-xxs
log_destinations:
- logtail:
token: T33nQm2FjwYtozDYiv2BR2s2
name: logtail
routes:
- path: /
envs:
- key: APP_DATABASE__USERNAME
scope: RUN_TIME
value: ${fish-db.USERNAME}
- key: APP_DATABASE__PASSWORD
scope: RUN_TIME
value: ${fish-db.PASSWORD}
- key: APP_DATABASE__HOST
scope: RUN_TIME
value: ${fish-db.HOSTNAME}
- key: APP_DATABASE__PORT
scope: RUN_TIME
value: ${fish-db.PORT}
- key: APP_DATABASE__DATABASE_NAME
scope: RUN_TIME
value: ${fish-db.DATABASE}
- key: APP_APPLICATION__API_KEY
scope: RUN_TIME
type: SECRET
value: EV[1:LIijgaITg/4u6K5SLAmyU1J2yo1Bt6cx:zi8Hc85ATrv5NQg8PrcoPlavg+2NMeq7sERW/tKq7qHNnauVhubQYf+tV1KM8U923dL+1fMKsLd2+pnk54l6/RIEX3maEhSMjRanW1YFf1vwlUToIG5eSBjWQVCnZUIW/b8mhF7RuW3obR6uOMVY8V74WSHaZgwbupruIB3C+DvmhBaicQDi52UCCSN4L4mV]
databases:
- engine: PG
name: fish-db
num_nodes: 1
size: db-s-dev-database
version: "12"