Add Content about how to use env file

This commit is contained in:
hou27
2022-06-23 20:52:39 +09:00
parent 160fab01fd
commit 24bebed0f4

View File

@@ -27,4 +27,12 @@ The following solution solved the issue for me.
public AuthenticationManager authenticationManager(AuthenticationConfiguration authenticationConfiguration) throws Exception {
return authenticationConfiguration.getAuthenticationManager();
}
```
```
# Profile
Set ```application.yml``` to use ```.dev.env``` file
```
spring:
config:
import: optional:file:.dev.env[.properties]
```