Repository navigation
Expand file tree
/
Copy pathrender.yaml
More file actions
54 lines (54 loc) · 1.35 KB
/
Copy pathrender.yaml
File metadata and controls
54 lines (54 loc) · 1.35 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
services:
- type: web
name: shopeasy-vm-api
runtime: docker
plan: free
rootDir: backend
dockerfilePath: ./Dockerfile
healthCheckPath: /actuator/health
envVars:
- key: SPRING_PROFILES_ACTIVE
value: hosting
- key: JWT_SECRET
generateValue: true
- key: MYSQL_JDBC_URL
sync: false
- key: MYSQL_USERNAME
sync: false
- key: MYSQL_PASSWORD
sync: false
- key: KAFKA_BOOTSTRAP_SERVERS
sync: false
- key: KAFKA_SASL_JAAS_CONFIG
sync: false
- key: AIVEN_CA_CERT
sync: false
- key: FRONTEND_URL
sync: false
- type: web
name: shopeasy-vm
runtime: static
rootDir: frontend
buildCommand: npm ci && npm run build:hosting
staticPublishPath: dist/frontend/browser
envVars:
- key: NODE_VERSION
value: "22"
- key: SKIP_INSTALL_DEPS
value: "true"
- key: SHOP_API_URL
sync: false
routes:
- type: rewrite
source: /*
destination: /index.html
headers:
- path: /*
name: Content-Security-Policy
value: "frame-ancestors 'none'; object-src 'none'; base-uri 'self'"
- path: /*
name: X-Content-Type-Options
value: nosniff
- path: /*
name: Referrer-Policy
value: strict-origin-when-cross-origin