You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
79 lines
3.0 KiB
79 lines
3.0 KiB
{
|
|
// 使用 IntelliSense 了解相关属性。
|
|
// 悬停以查看现有属性的描述。
|
|
// 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Run DouTok Entity",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "auto",
|
|
"program": "./applications/comment/",
|
|
"env": {
|
|
"DOUTOK_COMMENT_SERVER_NAME": "DouTokCommentServer",
|
|
"DOUTOK_COMMENT_SERVER_PORT": "8081",
|
|
"DOUTOK_COMMENT_ETCD_ADDRESS": "localhost",
|
|
"DOUTOK_COMMENT_ETCD_PORT": "2379",
|
|
}
|
|
},
|
|
{
|
|
"name": "Run DouTok Favorite",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "auto",
|
|
"program": "./applications/favorite/",
|
|
"env": {
|
|
"DOUTOK_FAVORITE_SERVER_NAME": "DouTokFavoriteServer",
|
|
"DOUTOK_FAVORITE_SERVER_PORT": "8082",
|
|
"DOUTOK_FAVORITE_ETCD_ADDRESS": "localhost",
|
|
"DOUTOK_FAVORITE_ETCD_PORT": "2379",
|
|
}
|
|
},
|
|
{
|
|
"name": "Run DouTok Entity Domain",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "auto",
|
|
"program": "./applications/commentDomain/cmd/server/",
|
|
"env": {
|
|
"DOUTOK_COMMENT_DOMAIN_SERVER_NAME": "DouTokCommentDomainServer",
|
|
"DOUTOK_COMMENT_DOMAIN_SERVER_PORT": "8083",
|
|
"DOUTOK_COMMENT_DOMAIN_ETCD_ADDRESS": "localhost",
|
|
"DOUTOK_COMMENT_DOMAIN_ETCD_PORT": "2379",
|
|
"DOUTOK_COMMENT_DOMAIN_MYSQL_USERNAME": "admin",
|
|
"DOUTOK_COMMENT_DOMAIN_MYSQL_PASSWORD": "root",
|
|
"DOUTOK_COMMENT_DOMAIN_MYSQL_DATABASE": "DouTok",
|
|
}
|
|
},
|
|
{
|
|
"name": "Run DouTok User",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "auto",
|
|
"program": "./applications/user/",
|
|
"env": {
|
|
"DOUTOK_USER_SERVER_NAME": "DouTokUserServer",
|
|
"DOUTOK_USER_SERVER_PORT": "8084",
|
|
"DOUTOK_USER_ETCD_ADDRESS": "localhost",
|
|
"DOUTOK_USER_ETCD_PORT": "2379",
|
|
}
|
|
},
|
|
{
|
|
"name": "Run DouTok User Domain",
|
|
"type": "go",
|
|
"request": "launch",
|
|
"mode": "auto",
|
|
"program": "./applications/userDomain/",
|
|
"env": {
|
|
"DOUTOK_USER_DOMAIN_SERVER_NAME": "DouTokUserDomainServer",
|
|
"DOUTOK_USER_DOMAIN_SERVER_PORT": "8085",
|
|
"DOUTOK_USER_DOMAIN_ETCD_ADDRESS": "localhost",
|
|
"DOUTOK_USER_DOMAIN_ETCD_PORT": "2379",
|
|
"DOUTOK_USER_DOMAIN_MYSQL_USERNAME": "admin",
|
|
"DOUTOK_USER_DOMAIN_MYSQL_PASSWORD": "root",
|
|
"DOUTOK_USER_DOMAIN_MYSQL_DATABASE": "DouTok",
|
|
}
|
|
}
|
|
]
|
|
}
|