从@abearxiong/config拷贝过来
This commit is contained in:
15
config/demo/inline-app.json
Normal file
15
config/demo/inline-app.json
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"$schema": "../schema.json",
|
||||
"app": {
|
||||
"type": "inline-app",
|
||||
"port": 14000,
|
||||
"remote": {
|
||||
"host": "localhost",
|
||||
"path": "/api/router"
|
||||
},
|
||||
"micro": {
|
||||
"name": "micro-app",
|
||||
"port": 3001
|
||||
}
|
||||
}
|
||||
}
|
||||
17
config/demo/micro-app.json
Normal file
17
config/demo/micro-app.json
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
"$schema": "../schema.json",
|
||||
"app": {
|
||||
"type": "micro-app",
|
||||
"port": 14000,
|
||||
"remote": {
|
||||
"host": "localhost",
|
||||
"path": "/api/router"
|
||||
},
|
||||
"micro": {
|
||||
"remote": {
|
||||
"host": "localhost",
|
||||
"port": 3001
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user