Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3349819
D4499.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D4499.diff
View Options
diff --git a/keyserver/docker-compose.yml b/keyserver/docker-compose.yml
--- a/keyserver/docker-compose.yml
+++ b/keyserver/docker-compose.yml
@@ -20,28 +20,25 @@
- COMM_DATABASE_DATABASE
- COMM_DATABASE_USER
- COMM_DATABASE_PASSWORD
+ - COMM_DATABASE_TYPE=mariadb10.8
depends_on:
- cache
- database
database:
- image: mysql:5.7.37-debian
+ image: mariadb:10.8.3-jammy
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_DATABASE_DATABASE
- - MYSQL_USER=$COMM_DATABASE_USER
- - MYSQL_PASSWORD=$COMM_DATABASE_PASSWORD
+ - MARIADB_RANDOM_ROOT_PASSWORD=yes
+ - MARIADB_DATABASE=$COMM_DATABASE_DATABASE
+ - MARIADB_USER=$COMM_DATABASE_USER
+ - MARIADB_PASSWORD=$COMM_DATABASE_PASSWORD
volumes:
- mysqldata:/var/lib/mysql
cache:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 23, 7:18 PM (20 h, 21 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2572179
Default Alt Text
D4499.diff (1 KB)
Attached To
Mode
D4499: [keyserver] Switch Docker Compose from MySQL 5.7 to MariaDB 10.8
Attached
Detach File
Event Timeline
Log In to Comment