diff --git a/keyserver/docker-compose.yml b/keyserver/docker-compose.yml --- a/keyserver/docker-compose.yml +++ b/keyserver/docker-compose.yml @@ -24,24 +24,20 @@ - cache - database database: - image: mysql:5.7.37-debian + image: mariadb:10.7.4-focal restart: always expose: - "3306" - # There is no ARM-based Mac build on Docker Hub, so we force x64 - # This is what we want in production anyways. ARM-based Mac devs will have - # it emulated - platform: linux/amd64 command: > --max-allowed-packet=64M --local-infile=0 --sql-mode=STRICT_ALL_TABLES --innodb-buffer-pool-size=1600M environment: - - MYSQL_RANDOM_ROOT_PASSWORD=yes - - MYSQL_DATABASE=$COMM_MYSQL_DATABASE - - MYSQL_USER=$COMM_MYSQL_USER - - MYSQL_PASSWORD=$COMM_MYSQL_PASSWORD + - MARIADB_RANDOM_ROOT_PASSWORD=yes + - MARIADB_DATABASE=$COMM_MYSQL_DATABASE + - MARIADB_USER=$COMM_MYSQL_USER + - MARIADB_PASSWORD=$COMM_MYSQL_PASSWORD volumes: - mysqldata:/var/lib/mysql cache: