kphcdr 1 rok pred
rodič
commit
f0daf7883a
1 zmenil súbory, kde vykonal 10 pridanie a 1 odobranie
  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