Domain driven design layered architecture (UI - application - domain - infra)
https://archfirst.org/domain-driven-design-6-layered-architecture/
# 설정 값 확인
# mysql/dev.env
# mysql/my.cnf
$ docker-compose up -d
vscode - spring boot dashboard 실행 시 환경변수 주입
// launch.json
{
"configurations": [
{
"type": "java",
"name": "Spring Boot-ApiApplication<api>",
"request": "launch",
"cwd": "${workspaceFolder}",
"console": "internalConsole",
"mainClass": "com.nexters.wiw.api.ApiApplication",
"projectName": "api",
"args": "",
"env": { // add me!
"MYSQL_ROOT_PASSWORD":{PASSWORD}, // fix me!
"MYSQL_DATABASE":{PASSWORD}, // fix me!
"MYSQL_PORT":{PORT}, // fix me!
}
}
]
}
spring-actuator
http://{domain}/actuator/health