This commit is contained in:
2026-01-27 22:03:23 +07:00
parent 962cd5d873
commit 531097c9d5
4 changed files with 46 additions and 32 deletions

43
.vscode/launch.json vendored Normal file
View File

@@ -0,0 +1,43 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "java",
"name": "Current File",
"request": "launch",
"mainClass": "${file}"
},
{
"type": "java",
"name": "GiftCodeServiceApplication",
"request": "launch",
"mainClass": "com.dken.giftcodeservice.GiftCodeServiceApplication",
"projectName": "gift-code-service",
"env": {
"SPRING_PROFILES_ACTIVE": "dev"
}
},
{
"type": "java",
"name": "UserServiceApplication",
"request": "launch",
"mainClass": "com.dken.userservice.UserServiceApplication",
"projectName": "user-service",
"env": {
"SPRING_PROFILES_ACTIVE": "dev"
}
}
],
"compounds": [
{
"name": "Run User + GiftCode",
"configurations": [
"UserServiceApplication",
"GiftCodeServiceApplication"
]
}
]
}

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"java.compile.nullAnalysis.mode": "disabled"
}

View File

@@ -1,14 +0,0 @@
server:
port: 8602
spring:
application:
name: gift-code-service
data:
mongodb:
host: mongodb
port: 27017
database: gift-codedb
redis:
host: redis
port: 6379

View File

@@ -1,18 +0,0 @@
server:
port: 8601
giftcode:
service:
url: http://giftcode-service:8602
spring:
application:
name: user-service
data:
mongodb:
host: mongodb
port: 27017
database: userdb
redis:
host: redis
port: 6379