-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrender.yaml
More file actions
53 lines (47 loc) · 1.15 KB
/
Copy pathrender.yaml
File metadata and controls
53 lines (47 loc) · 1.15 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
services:
- type: web
name: blockchain-voting-backend
env: docker
plan: starter
dockerfilePath: ./Dockerfile
dockerContext: .
dockerCommand: --target backend
# Environment variables
envVars:
- key: SPRING_PROFILES_ACTIVE
value: production
- key: JAVA_OPTS
value: "-Djava.awt.headless=true -Xmx512m -Xms256m"
- key: PORT
value: 8080
# Health check configuration
healthCheckPath: /api/voting/health
# Auto-deploy configuration
autoDeploy: true
# Build configuration
buildFilter:
paths:
- src/**
- pom.xml
- Dockerfile
ignoredPaths:
- README.md
- docs/**
- "*.md"
databases: []
# Optional: Web service for JavaFX client (commented out for backend-only deployment)
# - type: web
# name: blockchain-voting-client
# env: docker
# plan: starter
# dockerfilePath: ./Dockerfile
# dockerContext: .
# dockerCommand: --target javafx-client
#
# envVars:
# - key: DISPLAY
# value: ":99"
# - key: BACKEND_URL
# from: service
# name: blockchain-voting-backend
# property: host