update application properties
This commit is contained in:
30
README.md
30
README.md
@@ -4,19 +4,25 @@ In realms of connectedness, where devices roam free, A nexus of management, harm
|
||||
|
||||
## Properties for deployment
|
||||
|
||||
| name | required | info |
|
||||
|----------------------------|:--------:|-------------------------|
|
||||
| spring.profiles.active | ✓ | Spring Boot environment |
|
||||
| spring.cache.type | | Cache type (redis) |
|
||||
| spring.data.redis.host | ✓ | Redis host |
|
||||
| spring.data.redis.port | | Redis port |
|
||||
| spring.data.redis.database | ✓ | Redis database |
|
||||
| spring.data.redis.password | ✗ | Redis password |
|
||||
| jwt.public-key | ✓ | JWT public key file |
|
||||
| account-registry.url | ✓ | Account Register URL |
|
||||
| device-registry.url | ✓ | Device Register URL |
|
||||
| name | required | info |
|
||||
|---------------------------------|:--------:|----------------------------|
|
||||
| spring.profiles.active | ✗ | Spring Boot environment |
|
||||
| spring.session.timeout | | Session timeout |
|
||||
| spring.data.redis.database | | Redis database |
|
||||
| spring.data.redis.port | | Redis port |
|
||||
| spring.data.redis.host | ✔ | Redis host |
|
||||
| spring.data.redis.password | ✱ | Redis password |
|
||||
| server.error.include-exception | | Exception class on error |
|
||||
| server.error.include-message | | Exception message on error |
|
||||
| server.error.include-stacktrace | | stack trace on error |
|
||||
| jwt.public-key | ✗ | JWT public key file |
|
||||
| account-registry.url | ✔ | Account Register URL |
|
||||
| device-registry.url | ✔ | Device Register URL |
|
||||
|
||||
*Required: ✓ can be stored as text, and ✗ need to be stored as secret.*
|
||||
*Required:*
|
||||
- *✓ can be stored as text. ✔ predefined in environment*
|
||||
- *✗ mounted file.*
|
||||
- *✱ need to be stored as secret.*
|
||||
|
||||
## Releasing Service
|
||||
|
||||
|
||||
@@ -16,6 +16,7 @@ spring:
|
||||
data:
|
||||
redis:
|
||||
port: 6379
|
||||
database: 2
|
||||
|
||||
server:
|
||||
error:
|
||||
@@ -59,7 +60,6 @@ spring:
|
||||
data:
|
||||
redis:
|
||||
host: localhost
|
||||
database: 2
|
||||
|
||||
server:
|
||||
error:
|
||||
@@ -84,11 +84,9 @@ spring:
|
||||
data:
|
||||
redis:
|
||||
host: Redis
|
||||
database: 2
|
||||
|
||||
server:
|
||||
error:
|
||||
include-exception: true
|
||||
include-message: always
|
||||
|
||||
account-registry:
|
||||
@@ -99,9 +97,19 @@ device-registry:
|
||||
|
||||
---
|
||||
##############################
|
||||
### Production environment ###
|
||||
### Kubernetes environment ###
|
||||
##############################
|
||||
spring:
|
||||
config:
|
||||
activate:
|
||||
on-profile: production
|
||||
on-profile: kubernetes
|
||||
data:
|
||||
redis:
|
||||
host: dependency-redis-master
|
||||
|
||||
account-registry:
|
||||
url: http://account-register
|
||||
|
||||
device-registry:
|
||||
url: http://device-register
|
||||
|
||||
|
||||
Reference in New Issue
Block a user