Browse Source

Merge remote-tracking branch 'origin/master'

# Conflicts:
#	docker-app-compose.yml
chd 1 year ago
parent
commit
aeb0ae82cb
2 changed files with 4 additions and 3 deletions
  1. 2 2
      docker-app-compose.yml
  2. 2 1
      package.json

+ 2 - 2
docker-app-compose.yml

@@ -1,7 +1,7 @@
 version: '3'
 services:
-  loan-hrsk-official-pages:                      # 指定服务的名称
-    image: "loan-hrsk-official-pages:${app_tag_name}"                         # 镜像名 .注意:${app_tag_name} 变量名不能带'-'符号,第一个'-'后会认为是默认值,而非变量名的一部分。
+  loan-hrsk-pages:                      # 指定服务的名称
+    image: "loan-hrsk-pages:${app_tag_name}"                         # 镜像名 .注意:${app_tag_name} 变量名不能带'-'符号,第一个'-'后会认为是默认值,而非变量名的一部分。
     restart: always
     environment:                        # 环境变量
       - VIRTUAL_HOST=''          # nginx-proxy 所用域名

+ 2 - 1
package.json

@@ -6,7 +6,8 @@
     "generate": "nuxt generate",
     "preview": "nuxt preview",
     "postinstall": "nuxt prepare",
-    "start": "nuxt start"
+    "start": "nuxt start",
+    "starts": "node .output/server/index.mjs"
   },
   "devDependencies": {
     "@huntersofbook/naive-ui-nuxt": "^0.7.1",