-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathrender.yaml
109 lines (108 loc) · 3.22 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# SPDX-FileCopyrightText: 2024 JWP Consulting GK
#
# SPDX-License-Identifier: AGPL-3.0-or-later
# Largely derived from docker-compose.yaml
services:
- name: projectify
type: web
runtime: image
image:
url: ghcr.io/jwpconsulting/projectify/projectify-revproxy:latest
envVars:
- key: HOST
sync: false
- key: PORT
value: 80
- key: FRONTEND_HOST
fromService:
name: projectify-frontend
type: pserv
property: host
- key: FRONTEND_PORT
value: 5001
- key: BACKEND_HOST
fromService:
name: projectify-backend
type: pserv
property: host
- key: BACKEND_PORT
value: 5002
- name: projectify-frontend
type: pserv
runtime: image
image:
url: ghcr.io/jwpconsulting/projectify/projectify-frontend-node:latest
envVars:
- key: SVELTE_KIT_PORT
value: 5001
- name: projectify-backend
type: pserv
runtime: image
image:
url: ghcr.io/jwpconsulting/projectify/projectify-backend:latest
preDeployCommand: projectify-manage migrate
# docs/backend/configuration.md
envVars:
- key: PORT
value: 5002
- key: DATABASE_URL
fromDatabase:
name: projectify-postgres-production
property: connectionString
- key: REDIS_TLS_URL
fromService:
name: projectify-redis-production
type: redis
property: connectionString
- fromGroup: projectify-backend-shared
- name: projectify-celery
type: worker
runtime: image
image:
url: ghcr.io/jwpconsulting/projectify/projectify-celery:latest
envVars:
- key: DATABASE_URL
fromDatabase:
name: projectify-postgres-production
property: connectionString
- key: REDIS_TLS_URL
fromService:
name: projectify-redis-production
type: redis
property: connectionString
- fromGroup: projectify-backend-shared
- name: projectify-redis-production
type: redis
ipAllowList: []
databases:
- name: projectify-postgres-production
postgresMajorVersion: "15"
plan: standard
ipAllowList: []
envVarGroups:
- name: projectify-backend-shared
envVars:
- key: DJANGO_SETTINGS_MODULE
value: projectify.settings.production
- key: DJANGO_CONFIGURATION
value: Production
- key: SECRET_KEY
generateValue: true
- key: ALLOWED_HOSTS
sync: false
- key: FRONTEND_URL
sync: false
- key: STRIPE_PUBLISHABLE_KEY
sync: false
- key: STRIPE_SECRET_KEY
sync: false
- key: STRIPE_PRICE_OBJECT
sync: false
- key: STRIPE_ENDPOINT_SECRET
sync: false
- key: MAILGUN_API_KEY
sync: false
- key: MAILGUN_DOMAIN
sync: false
- key: CSRF_COOKIE_DOMAIN
sync: false