diff --git a/buildfiles/var/www/html/config/config.php b/buildfiles/var/www/html/config/config.php
index 158d4df..0f822d8 100644
--- a/buildfiles/var/www/html/config/config.php
+++ b/buildfiles/var/www/html/config/config.php
@@ -102,7 +102,7 @@ $CONFIG = [
*
* Defaults to ``sqlite3``
*/
-'dbtype' => 'sqlite3',
+'dbtype' => 'mysql',
/**
* Your host server name, for example ``localhost``, ``hostname``,
@@ -110,7 +110,7 @@ $CONFIG = [
* ``hostname:####``; to specify a Unix socket use
* ``/path/to/directory/containing/socket`` e.g. ``/run/postgresql/``.
*/
-'dbhost' => '',
+'dbhost' => 'db',
/**
* The name of the Nextcloud database, which is set during installation. You
@@ -123,13 +123,13 @@ $CONFIG = [
* across Nextcloud instances using the same SQL database. This is set up during
* installation, so you shouldn't need to change it.
*/
-'dbuser' => '',
+'dbuser' => 'nextcloud',
/**
* The password for the database user. This is set up during installation, so
* you shouldn't need to change it.
*/
-'dbpassword' => '',
+'dbpassword' => 'nextcloud',
/**
* Prefix for the Nextcloud tables in the database.
diff --git a/docker-compose.yml b/docker-compose.yml
index 8d65e7a..8297053 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -13,3 +13,13 @@ services:
- ./logs:/root/logs
ports:
- 8000:80
+#########################
+ db:
+ image: mysql:8
+ environment:
+ MYSQL_DATABASE: nextcloud
+ MYSQL_USER: nextcloud
+ MYSQL_PASSWORD: nextcloud
+ MYSQL_ALLOW_EMPTY_PASSWORD: true
+ volumes:
+ - ./database:/var/lib/mysql