ci: 🎡 docker compose 去除mysql初始化sql
This commit is contained in:
parent
258de92737
commit
89d762a8c5
@ -35,14 +35,14 @@ services:
|
|||||||
--character-set-server=utf8mb4
|
--character-set-server=utf8mb4
|
||||||
--collation-server=utf8mb4_unicode_ci
|
--collation-server=utf8mb4_unicode_ci
|
||||||
--tls_version="TLSv1.2,TLSv1.3"
|
--tls_version="TLSv1.2,TLSv1.3"
|
||||||
--init-file /data/application/init.sql
|
|
||||||
--binlog_expire_logs_seconds=604800
|
--binlog_expire_logs_seconds=604800
|
||||||
|
# --init-file /data/application/init.sql
|
||||||
# --default-authentication-plugin=mysql_native_password
|
# --default-authentication-plugin=mysql_native_password
|
||||||
ports:
|
ports:
|
||||||
- 3306:3306
|
- 3306:3306
|
||||||
volumes:
|
volumes:
|
||||||
- mysql_data:/var/lib/mysql
|
- mysql_data:/var/lib/mysql
|
||||||
- ./deploy/init.sql:/data/application/init.sql
|
# - ./deploy/init.sql:/data/application/init.sql
|
||||||
networks:
|
networks:
|
||||||
- gmanager
|
- gmanager
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user