Skip to content

Commit

Permalink
fix mysql 8 version
Browse files Browse the repository at this point in the history
  • Loading branch information
moctardiouf committed Feb 22, 2024
1 parent 0b76baf commit 188de77
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker-compose.altenatives.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "3.9"
services:

db:
image: mysql
image: mysql:8.0.36-debian
# NOTE: use of "mysql_native_password" is not recommended: https://dev.mysql.com/doc/refman/8.0/en/upgrading-from-previous-series.html#upgrade-caching-sha2-password
# (this is just an example, not intended to be a production configuration)
command: --default-authentication-plugin=mysql_native_password --max_allowed_packet=$MYSQL_MAX_ALLOWED_PACKET --max_connections=$MYSQL_MAX_CONNECTION --long_query_time=$MYSQL_LONG_QUERY_TIME --sql_mode="NO_ENGINE_SUBSTITUTION"
Expand All @@ -25,6 +25,6 @@ services:
- MYSQL_QUERY_CACHE_SIZE
- MYSQL_KEY_BUFFER_SIZE
volumes:
- ${PHRASEANET_DB_DIR}2:/var/lib/mysql
- ${PHRASEANET_DB_DIR}_mysql8:/var/lib/mysql:rw
networks:
- internal

0 comments on commit 188de77

Please sign in to comment.