modify(directory): directory modify

This commit is contained in:
GengY
2024-03-05 10:25:33 +08:00
parent 2b1c68b2d5
commit 5d80a9e021
16 changed files with 13 additions and 12 deletions

1
dbSer/mysql/env.cfg Normal file
View File

@@ -0,0 +1 @@
IMAGE_TAG=mysql:8.3.0

21
dbSer/mysql/stack.yml Normal file
View File

@@ -0,0 +1,21 @@
# Pull:: docker compose --env-file ./dbSer/mysql/env.cfg -f ./dbSer/mysql/prod.stack.yml pull
# Run:: docker compose -p dbSer --env-file ./dbSer/mysql/env.cfg -f ./dbSer/mysql/prod.stack.yml up -d
services:
mysql:
image: mysql:8.3.0
container_name: Dev-mysql
restart: always
environment:
- MYSQL_ROOT_PASSWORD=Kevin%0412%Mysql
- TZ=Asia/Shanghai
volumes:
- mysql_data:/var/lib/mysql
- mysql_logs:/var/log/mysql
ports:
- "3306:3306"
command: --default-authentication-plugin=mysql_native_password
volumes:
mysql_data:
mysql_logs: