1.4.5.2
This commit is contained in:
6
EdgeAdmin/build/configs/.gitignore
vendored
Normal file
6
EdgeAdmin/build/configs/.gitignore
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
api.yaml
|
||||
api_admin.yaml
|
||||
server.yaml
|
||||
api_db.yaml
|
||||
*.pem
|
||||
*.cache.json
|
||||
3
EdgeAdmin/build/configs/api_admin.template.yaml
Normal file
3
EdgeAdmin/build/configs/api_admin.template.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
rpc.endpoints: [ "http://127.0.0.1:8003" ]
|
||||
nodeId: ""
|
||||
secret: ""
|
||||
11
EdgeAdmin/build/configs/api_db.template.yaml
Normal file
11
EdgeAdmin/build/configs/api_db.template.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
default:
|
||||
db: "prod"
|
||||
prefix: ""
|
||||
|
||||
dbs:
|
||||
prod:
|
||||
driver: "mysql"
|
||||
dsn: "root:123456@tcp(127.0.0.1:3306)/db_edge?charset=utf8mb4&timeout=30s"
|
||||
prefix: "edge"
|
||||
models:
|
||||
package: internal/web/models
|
||||
16
EdgeAdmin/build/configs/server.template.yaml
Normal file
16
EdgeAdmin/build/configs/server.template.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
# environment code
|
||||
env: prod
|
||||
|
||||
# http
|
||||
http:
|
||||
"on": true
|
||||
listen: [ "0.0.0.0:7788" ]
|
||||
|
||||
# https
|
||||
https:
|
||||
"on": false
|
||||
listen: [ "0.0.0.0:443"]
|
||||
cert: ""
|
||||
key: ""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user