41 lines
975 B
YAML
41 lines
975 B
YAML
#! spec.yaml
|
|
name: rust-project
|
|
|
|
region: sgp1
|
|
services:
|
|
- name: rust-project
|
|
dockerfile_path: Dockerfile
|
|
source_dir: .
|
|
github:
|
|
repo: NickBland/mailApp
|
|
branch: master
|
|
deploy_on_push: true
|
|
health_check:
|
|
http_path: /health_check
|
|
http_port: 8000
|
|
instance_count: 1
|
|
instance_size_slug: basic-xxs
|
|
routes:
|
|
- path: /
|
|
envs:
|
|
- key: APP_DATABASE__USERNAME
|
|
scope: RUN_TIME
|
|
value: ${newsletter.USERNAME}
|
|
- key: APP_DATABASE__PASSWORD
|
|
scope: RUN_TIME
|
|
value: ${newsletter.PASSWORD}
|
|
- key: APP_DATABASE__HOST
|
|
scope: RUN_TIME
|
|
value: ${newsletter.HOSTNAME}
|
|
- key: APP_DATABASE__PORT
|
|
scope: RUN_TIME
|
|
value: ${newsletter.PORT}
|
|
- key: APP_DATABASE__DATABASE_NAME
|
|
scope: RUN_TIME
|
|
value: ${newsletter.DATABASE}
|
|
databases:
|
|
- engine: PG
|
|
name: newsletter
|
|
num_nodes: 1
|
|
size: deb-s-dev-database
|
|
version: "12" |