-
Notifications
You must be signed in to change notification settings - Fork 0
/
render.yaml
43 lines (39 loc) · 1.5 KB
/
render.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
# Example Render configuration. You will need to adjust this for the different services you run.
# Replace repo url with the repository url for your Jumpstart Pro application
services:
- type: web
repo: https://github.com/nipunhsud/ai-agents.git # Replace this url
name: ai-agents
env: python
region: virginia # the region must be consistent across all services for the internal keys to be read
buildCommand: "./build.sh"
startCommand: python manage.py runserver 0.0.0.0:8000
envVars:
- key: DATABASE_URL
fromDatabase:
name: postgres
property: connectionString
# Uncomment the following blueprint if you want to enable a background worker
# - type: worker
# name: sidekiq-worker
# env: ruby
# plan: starter # no free option for bg workers
# region: oregon # the region must be consistent across all services for the internal keys to be read
# buildCommand: "./bin/render-build.sh"
# startCommand: bundle exec sidekiq -e production
# envVars:
# - key: DATABASE_URL
# fromDatabase:
# name: postgres
# property: connectionString
# - key: REDIS_URL
# fromService:
# name: redis
# type: redis
# property: connectionString
# - key: RAILS_MASTER_KEY
# sync: false
databases:
- name: postgres
region: virginia # the region must be consistent across all services for the internal keys to be read
ipAllowList: [] # only allow internal connections