@@ -5,6 +5,7 @@ import (
_ "nginx-ui/server/init"
)
+// 启动一个后台服务
func main() {
beego.Run()
}
@@ -8,10 +8,7 @@ services:
restart: always
container_name: nginx-with-ui
ports:
- - 8081:8080
- - 9090:9090
- - 9080:80
- - 9443:443
+ - 38080:38080
# network_mode: host
volumes:
- ./docker/data:/app/data
@@ -10,6 +10,8 @@ import (
+// 桌面应用
+//
//go:embed all:frontend/dist
var assets embed.FS