kphcdr 1 年之前
父節點
當前提交
f0daf7883a
共有 1 個文件被更改,包括 10 次插入1 次删除
  1. 10 1
      docker-compose.yml

+ 10 - 1
docker-compose.yml

@@ -33,7 +33,7 @@ services:
 
   mysql:
     container_name: ${ABBREVIATION}-mysql
-    image:  mysql:5.7.29 #X86架构
+    image: mysql:8.0.34
     restart: always
     ports:
       - "${NUMBER}3306:3306"   
@@ -56,3 +56,12 @@ services:
       - default
     ports:
       - "${NUMBER}6379:6379"
+  node:
+    container_name: ${ABBREVIATION}-node
+    image: node:16.16.0
+    restart: always
+    volumes:
+      - ./www:/www
+    networks:
+      - default
+    working_dir: /www