dbconfig
This commit is contained in:
parent
57be7631a5
commit
7aa6a681a1
@ -102,7 +102,7 @@ $CONFIG = [
|
|||||||
*
|
*
|
||||||
* Defaults to ``sqlite3``
|
* Defaults to ``sqlite3``
|
||||||
*/
|
*/
|
||||||
'dbtype' => 'sqlite3',
|
'dbtype' => 'mysql',
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Your host server name, for example ``localhost``, ``hostname``,
|
* Your host server name, for example ``localhost``, ``hostname``,
|
||||||
@ -110,7 +110,7 @@ $CONFIG = [
|
|||||||
* ``hostname:####``; to specify a Unix socket use
|
* ``hostname:####``; to specify a Unix socket use
|
||||||
* ``/path/to/directory/containing/socket`` e.g. ``/run/postgresql/``.
|
* ``/path/to/directory/containing/socket`` e.g. ``/run/postgresql/``.
|
||||||
*/
|
*/
|
||||||
'dbhost' => '',
|
'dbhost' => 'db',
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The name of the Nextcloud database, which is set during installation. You
|
* 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
|
* across Nextcloud instances using the same SQL database. This is set up during
|
||||||
* installation, so you shouldn't need to change it.
|
* 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
|
* The password for the database user. This is set up during installation, so
|
||||||
* you shouldn't need to change it.
|
* you shouldn't need to change it.
|
||||||
*/
|
*/
|
||||||
'dbpassword' => '',
|
'dbpassword' => 'nextcloud',
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prefix for the Nextcloud tables in the database.
|
* Prefix for the Nextcloud tables in the database.
|
||||||
|
@ -13,3 +13,13 @@ services:
|
|||||||
- ./logs:/root/logs
|
- ./logs:/root/logs
|
||||||
ports:
|
ports:
|
||||||
- 8000:80
|
- 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user