Add NATS deployment and service configuration, integrate environment variables, and update server to support NATS and Redis connections.
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m24s
All checks were successful
Dynamic Branch Deploy / build-and-deploy (push) Successful in 2m24s
This commit is contained in:
@@ -22,6 +22,11 @@ spec:
|
||||
- containerPort: 8080
|
||||
name: http
|
||||
protocol: TCP
|
||||
env:
|
||||
- name: REDIS_ADDR
|
||||
value: "redis-service:6379"
|
||||
- name: NATS_URL
|
||||
value: "nats://nats-service:4222"
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
|
||||
Reference in New Issue
Block a user