Default MySQL image to mysql:8.0-debian
The Oracle Linux based mysql:8.4 image requires x86-64-v2 and fails on the PESCO Docker host even with the Proxmox CPU type set to host. The Debian build runs on baseline x86-64; MYSQL_IMAGE still allows overriding. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -2,10 +2,10 @@ name: pesco-ncr
|
||||
|
||||
services:
|
||||
mysql:
|
||||
# mysql:8.4 (Oracle Linux 9) requires an x86-64-v2 CPU. On hosts/VMs
|
||||
# without it ("Fatal glibc error: CPU does not support x86-64-v2"),
|
||||
# set MYSQL_IMAGE=mysql:8.0-debian in .env (baseline x86-64 build).
|
||||
image: ${MYSQL_IMAGE:-mysql:8.4}
|
||||
# Debian-based build by default: the Oracle Linux images (mysql:8.4)
|
||||
# require an x86-64-v2 CPU and die with "Fatal glibc error: CPU does not
|
||||
# support x86-64-v2" on PESCO's Docker host. Override via MYSQL_IMAGE.
|
||||
image: ${MYSQL_IMAGE:-mysql:8.0-debian}
|
||||
command:
|
||||
- --character-set-server=utf8mb4
|
||||
- --collation-server=utf8mb4_unicode_ci
|
||||
|
||||
Reference in New Issue
Block a user