Browse Source

第一版初始化

luojunhui 18 hours ago
parent
commit
e62c19f858
1 changed files with 9 additions and 0 deletions
  1. 9 0
      docker-compose.yml

+ 9 - 0
docker-compose.yml

@@ -12,4 +12,13 @@ services:
             - driver: nvidia
               count: all
               capabilities: [gpu]
+    restart: always
+
+
+  # 后端服务
+  vector-app:
+    build: .
+    container_name: vector-app
+    ports:
+      - "8001:8001"
     restart: always