Add startup environment variable
This commit is contained in:
parent
d15408685d
commit
ad67009dbf
5
env/custom-application-config.env
vendored
5
env/custom-application-config.env
vendored
@ -1,3 +1,6 @@
|
||||
PREFER_HOST_MODE=hostname
|
||||
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:
|
||||
- PREFER_HOST_MODE=hostname
|
||||
- MODE=standalone
|
||||
- NACOS_AUTH_IDENTITY_KEY=serverIdentity
|
||||
- NACOS_AUTH_IDENTITY_VALUE=security
|
||||
- NACOS_AUTH_TOKEN=SecretKey012345678901234567890123456789012345678901234567890123456789
|
||||
volumes:
|
||||
- ./standalone-logs/:/home/nacos/logs
|
||||
ports:
|
||||
|
Loading…
Reference in New Issue
Block a user