Open kulakoff opened 3 months ago
Указал плагин плагин caching_sha2_password, контейнер db запустился
db:
image: mysql:8
container_name: ${APP_NAME}_db
environment:
MYSQL_DATABASE: ${MYSQL_DATABASE}
MYSQL_USER: ${MYSQL_USER}
MYSQL_PASSWORD: ${MYSQL_PASSWORD}
MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD}
restart: always
volumes:
- "db-data:/var/lib/mysql"
command: [
'--character-set-server=utf8mb4',
'--collation-server=utf8mb4_unicode_ci',
'--default-authentication-plugin=caching_sha2_password'
# '--default-authentication-plugin=mysql_native_password'
]
не тартует контейнеры web
db