diff --git a/docker-compose.altenatives.yml b/docker-compose.altenatives.yml index 83d7713e70..d709a01829 100644 --- a/docker-compose.altenatives.yml +++ b/docker-compose.altenatives.yml @@ -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" @@ -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