Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Development #11

Merged
merged 2 commits into from
Oct 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 40 additions & 43 deletions spec.yaml
Original file line number Diff line number Diff line change
@@ -1,48 +1,45 @@
name: claans
region: lon
domains:
- domain: claans.com
type: PRIMARY
- domain: claans.com
type: PRIMARY
services:
- name: api
dockerfile_path: Dockerfile
source_dir: .
github:
branch: main
deploy_on_push: true
repo: whompratt/claans_api
health_check:
http_path: /health_check
http_port: 8000
instance_count: 1
instance_size_slug: basic-xxs
envs:
- key: APP_APPLICATION__BASE_URL
scope: RUN_TIME
value: ${APP_URL}
- key: APP_DATABASE__USERNAME
scope: RUN_TIME
value: ${claans.USERNAME}
- key: APP_DATABASE__PASSWORD
scope: RUN_TIME
value: ${claans.PASSWORD}
- key: APP_DATABASE__HOST
scope: RUN_TIME
value: ${claans.HOSTNAME}
- key: APP_DATABASE__PORT
scope: RUN_TIME
value: ${claans.PORT}
- key: APP_DATABASE__DATABASE_NAME
scope: RUN_TIME
value: ${claans.DATABASE}
- key: APP_EMAIL_CLIENT__AUTHORIZATION_TOKEN
scope: RUN_TIME
type: SECRET
- name: claans-api
dockerfile_path: Dockerfile
source_dir: .
github:
branch: development
deploy_on_push: true
repo: whompratt/claans_api
health_check:
http_path: /health_check
http_port: 8000
instance_count: 1
instance_size_slug: basic-xxs
routes:
- path: /
envs:
- key: APP_APPLICATION__BASE_URL
scope: RUN_TIME
value: ${APP_URL}
- key: APP_DATABASE__USERNAME
scope: RUN_TIME
value: ${claans.USERNAME}
- key: APP_DATABASE__PASSWORD
scope: RUN_TIME
value: ${claans.PASSWORD}
- key: APP_DATABASE__HOST
scope: RUN_TIME
value: ${claans.HOSTNAME}
- key: APP_DATABASE__PORT
scope: RUN_TIME
value: ${claans.PORT}
- key: APP_DATABASE__DATABASE_NAME
scope: RUN_TIME
value: ${claans.DATABASE}
databases:
- name: claansdb
engine: PG
version: "16"
production: true
cluster_name: claansdb
db_name: claans
db_user: claans
- engine: PG
name: claans
num_nodes: 1
size: db-s-dev-database
version: "16"