Merge pull request #343 from opencmit/addenv
Add startup environment variable
This commit is contained in:
commit
5f736945f0
3
env/custom-application-config.env
vendored
3
env/custom-application-config.env
vendored
@ -1,3 +1,6 @@
|
|||||||
PREFER_HOST_MODE=hostname
|
PREFER_HOST_MODE=hostname
|
||||||
MODE=standalone
|
MODE=standalone
|
||||||
SPRING_DATASOURCE_PLATFORM=mysql
|
SPRING_DATASOURCE_PLATFORM=mysql
|
||||||
|
NACOS_AUTH_IDENTITY_KEY=2222
|
||||||
|
NACOS_AUTH_IDENTITY_VALUE=2xxx
|
||||||
|
NACOS_AUTH_TOKEN=SecretKey012345678901234567890123456789012345678901234567890123456789
|
@ -6,6 +6,9 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- PREFER_HOST_MODE=hostname
|
- PREFER_HOST_MODE=hostname
|
||||||
- MODE=standalone
|
- MODE=standalone
|
||||||
|
- NACOS_AUTH_IDENTITY_KEY=serverIdentity
|
||||||
|
- NACOS_AUTH_IDENTITY_VALUE=security
|
||||||
|
- NACOS_AUTH_TOKEN=SecretKey012345678901234567890123456789012345678901234567890123456789
|
||||||
volumes:
|
volumes:
|
||||||
- ./standalone-logs/:/home/nacos/logs
|
- ./standalone-logs/:/home/nacos/logs
|
||||||
ports:
|
ports:
|
||||||
|
Loading…
Reference in New Issue
Block a user