-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapp.yaml
More file actions
31 lines (31 loc) · 695 Bytes
/
Copy pathapp.yaml
File metadata and controls
31 lines (31 loc) · 695 Bytes
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
name: krill-app
services:
- name: web
source_dir: /
github:
repo: your-username/krill
branch: main
run_command: gunicorn krill.wsgi:application --bind 0.0.0.0:8000
environment_slug: python
instance_count: 1
instance_size_slug: basic-xxs
envs:
- key: DATABASE_ENGINE
value: postgresql
- key: DJANGO_SECRET_KEY
value: your-secret-key-here
- key: DJANGO_DEBUG
value: "False"
- key: DJANGO_SETTINGS_MODULE
value: krill.settings_production
- key: ENVIRONMENT
value: production
- key: DB_SSLMODE
value: require
jobs:
- name: migrate
kind: PRE_DEPLOY
github:
repo: olsonjp/krill
branch: main
run_command: python manage.py migrate