diff --git a/env/custom-application-config.env b/env/custom-application-config.env index 64ca0b0..d7d20d5 100644 --- a/env/custom-application-config.env +++ b/env/custom-application-config.env @@ -1,3 +1,6 @@ PREFER_HOST_MODE=hostname MODE=standalone -SPRING_DATASOURCE_PLATFORM=mysql \ No newline at end of file +SPRING_DATASOURCE_PLATFORM=mysql +NACOS_AUTH_IDENTITY_KEY=2222 +NACOS_AUTH_IDENTITY_VALUE=2xxx +NACOS_AUTH_TOKEN=SecretKey012345678901234567890123456789012345678901234567890123456789 \ No newline at end of file diff --git a/example/standalone-derby.yaml b/example/standalone-derby.yaml index f9528fc..ded8f08 100644 --- a/example/standalone-derby.yaml +++ b/example/standalone-derby.yaml @@ -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: