瀏覽代碼

Merge branch 'dev' of https://git.tonyandmoney.cn/tuonian/nginx-ui into dev

niantuo 1 年之前
父節點
當前提交
f417814ddd
共有 3 個文件被更改,包括 4 次插入4 次删除
  1. 1 0
      app.go
  2. 1 4
      docker-compose-dev.yaml
  3. 2 0
      main.go

+ 1 - 0
app.go

@@ -5,6 +5,7 @@ import (
 	_ "nginx-ui/server/init"
 )
 
+// 启动一个后台服务
 func main() {
 	beego.Run()
 }

+ 1 - 4
docker-compose-dev.yaml

@@ -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

+ 2 - 0
main.go

@@ -10,6 +10,8 @@ import (
 	_ "nginx-ui/server/init"
 )
 
+// 桌面应用
+//
 //go:embed all:frontend/dist
 var assets embed.FS