config
This commit is contained in:
43
.vscode/launch.json
vendored
Normal file
43
.vscode/launch.json
vendored
Normal 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
3
.vscode/settings.json
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"java.compile.nullAnalysis.mode": "disabled"
|
||||
}
|
||||
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user