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