添加环境变量 MYSQLDB_NAME 的支持

This commit is contained in:
keliang
2023-12-07 12:20:43 +08:00
parent a346a734b9
commit 11c2235472
2 changed files with 3 additions and 4 deletions

View File

@@ -1,4 +1,3 @@
version: '3.3'
services:
mysqldb:
container_name: dbswitch_mysqldb
@@ -25,6 +24,7 @@ services:
MYSQLDB_PORT: 3306
MYSQLDB_USERNAME: tangyibo
MYSQLDB_PASSWORD: 123456
MYSQLDB_NAME: dbswitch
volumes:
- /tmp:/tmp
ports:
@@ -32,4 +32,3 @@ services:
depends_on:
mysqldb:
condition: service_healthy