-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrender.yaml
More file actions
151 lines (144 loc) · 4.1 KB
/
render.yaml
File metadata and controls
151 lines (144 loc) · 4.1 KB
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
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
# Render Blueprint - Aurora Shield
# https://render.com/docs/blueprint-spec
# This file enables automatic deployment on Render.com
#
# IMPORTANT: On Render, each service runs independently.
# Services communicate via their public URLs, not internal Docker networking.
# Use environment variables to configure service URLs.
services:
# ============================================
# Demo Web Application (Primary CDN)
# This must be deployed FIRST as other services depend on it
# ============================================
- type: web
name: aurora-demo-webapp
runtime: docker
region: oregon
plan: free
branch: main
dockerfilePath: ./docker/Dockerfile.webapp
dockerContext: .
healthCheckPath: /health
envVars:
- key: PORT
value: 80
# Demo Web Application CDN2
- type: web
name: aurora-demo-webapp-cdn2
runtime: docker
region: oregon
plan: free
branch: main
dockerfilePath: ./docker/Dockerfile.webapp
dockerContext: .
healthCheckPath: /health
envVars:
- key: PORT
value: 80
# Demo Web Application CDN3
- type: web
name: aurora-demo-webapp-cdn3
runtime: docker
region: oregon
plan: free
branch: main
dockerfilePath: ./docker/Dockerfile.webapp
dockerContext: .
healthCheckPath: /health
envVars:
- key: PORT
value: 80
# ============================================
# Load Balancer Service
# Routes traffic to demo-webapp instances
# ============================================
- type: web
name: aurora-loadbalancer
runtime: docker
region: oregon
plan: free
branch: main
dockerfilePath: ./docker/Dockerfile.loadbalancer
dockerContext: .
healthCheckPath: /health
envVars:
- key: FLASK_ENV
value: production
- key: PORT
value: 8090
# URLs of CDN services (Render provides these after deployment)
- key: CDN_PRIMARY_URL
value: https://aurora-demo-webapp.onrender.com
- key: CDN_SECONDARY_URL
value: https://aurora-demo-webapp-cdn2.onrender.com
- key: CDN_TERTIARY_URL
value: https://aurora-demo-webapp-cdn3.onrender.com
# ============================================
# Attack Orchestrator Service
# Simulates and manages attack scenarios
# ============================================
- type: web
name: aurora-orchestrator
runtime: docker
region: oregon
plan: free
branch: main
dockerfilePath: ./docker/Dockerfile.orchestrator
dockerContext: .
healthCheckPath: /health
envVars:
- key: FLASK_ENV
value: production
- key: PORT
value: 5000
- key: AURORA_SHIELD_URL
value: https://aurora-shield.onrender.com
- key: LOAD_BALANCER_URL
value: https://aurora-loadbalancer.onrender.com
# ============================================
# Aurora Shield Main Service (Production)
# Main dashboard and protection service
# ============================================
- type: web
name: aurora-shield
runtime: docker
region: oregon
plan: free
branch: main
dockerfilePath: ./Dockerfile
dockerContext: .
healthCheckPath: /health
envVars:
- key: FLASK_ENV
value: production
- key: FLASK_APP
value: service_dashboard.py
- key: PORT
value: 8080
- key: LOAD_BALANCER_URL
value: https://aurora-loadbalancer.onrender.com
- key: ORCHESTRATOR_URL
value: https://aurora-orchestrator.onrender.com
- key: DEMO_WEBAPP_URL
value: https://aurora-demo-webapp.onrender.com
# ============================================
# Aurora Shield Staging (from finale branch)
# ============================================
- type: web
name: aurora-shield-staging
runtime: docker
region: oregon
plan: free
branch: finale
dockerfilePath: ./Dockerfile
dockerContext: .
healthCheckPath: /health
envVars:
- key: FLASK_ENV
value: staging
- key: FLASK_APP
value: service_dashboard.py
- key: PORT
value: 8080
- key: PORT
value: 8090