-
Notifications
You must be signed in to change notification settings - Fork 0
/
spec.yaml
41 lines (41 loc) · 1.17 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
#! spec.yaml
name: newsletter-rs
# Frankfurt (Germany - EU)
region: fra
services:
- name: newsletter-rs
# Relative to the repository root
dockerfile_path: Dockerfile
source_dir: .
github:
branch: main
# Deploy a new version on every commit to `main`!
deploy_on_push: true
repo: drconopoima/newsletter-rs
# Active probe used by DigitalOcean's to ensure our application is healthy
health_check:
http_path: /healthcheck
http_port: 8000
instance_count: 1
instance_size_slug: basic-xxs
routes:
- path: /
envs:
- key: APP__DATABASE_HOST
scope: RUN_TIME
value: ${APP__DATABASE_HOST}
- key: APP__DATABASE_PORT
scope: RUN_TIME
value: ${APP__DATABASE_PORT}
- key: APP__DATABASE_USERNAME
scope: RUN_TIME
value: ${APP__DATABASE_USERNAME}
- key: APP__DATABASE_PASSWORD
scope: RUN_TIME
value: ${APP__DATABASE_PASSWORD}
- key: APP__DATABASE_DATABASE
scope: RUN_TIME
value: ${APP__DATABASE_DATABASE}
- key: APP__DATABASE_SSL_CACERTIFICATES
scope: RUN_TIME
value: ${APP__DATABASE_SSL_CACERTIFICATES}