File tree Expand file tree Collapse file tree 2 files changed +7
-7
lines changed
template/{{cookiecutter.project_name}}/.github/workflows Expand file tree Collapse file tree 2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -52,15 +52,15 @@ class Database(BaseModel):
5252 ),
5353 DatabaseType .postgresql : Database (
5454 name = DatabaseType .postgresql .value ,
55- image = "postgres:13.6 -bullseye" ,
55+ image = "postgres:13.8 -bullseye" ,
5656 async_driver = "postgresql+asyncpg" ,
5757 driver_short = "postgres" ,
5858 driver = "postgresql" ,
5959 port = 5432 ,
6060 ),
6161 DatabaseType .mysql : Database (
6262 name = DatabaseType .mysql .value ,
63- image = "bitnami/mysql:8.0.28 " ,
63+ image = "bitnami/mysql:8.0.30 " ,
6464 async_driver = "mysql+aiomysql" ,
6565 driver_short = "mysql" ,
6666 driver = "mysql" ,
Original file line number Diff line number Diff line change @@ -62,17 +62,17 @@ jobs:
6262 POSTGRES_DB : {{ cookiecutter.project_name }}
6363 {%- endif %}
6464 {%- if cookiecutter.db_info.name == "mysql" %}
65- MYSQL_PASSWORD : {{ cookiecutter.project_name }}
66- MYSQL_USER : {{ cookiecutter.project_name }}
67- MYSQL_DATABASE : {{ cookiecutter.project_name }}
68- ALLOW_EMPTY_PASSWORD : yes
65+ MYSQL_ROOT_PASSWORD : " {{ cookiecutter.project_name }}"
66+ MYSQL_ROOT_USER : " {{ cookiecutter.project_name }}"
67+ MYSQL_DATABASE : " {{ cookiecutter.project_name }}"
68+ MYSQL_AUTHENTICATION_PLUGIN : " mysql_native_password "
6969 {%- endif %}
7070 {%- if cookiecutter.db_info.name == "mysql" %}
7171 options : >-
7272 --health-cmd="mysqladmin ping -u root"
7373 --health-interval=15s
7474 --health-timeout=5s
75- --health-retries=5
75+ --health-retries=6
7676 {%- endif %}
7777 {%- if cookiecutter.db_info.name == "postgresql" %}
7878 options : >-
You can’t perform that action at this time.
0 commit comments