From cecb01c8dacfd07143a7bc1d117d4321e444135a Mon Sep 17 00:00:00 2001 From: Julius Knorr Date: Mon, 28 Oct 2024 14:22:24 +0100 Subject: [PATCH] docs: Add small hint about oracle sqlplus Signed-off-by: Julius Knorr --- docs/services/database.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/services/database.md b/docs/services/database.md index 7d6080c..0bb2763 100644 --- a/docs/services/database.md +++ b/docs/services/database.md @@ -9,10 +9,11 @@ By default, MySQL will be used as database backend. You can change this by setti - `sqlite` - `mariadb-replica` - `maxscale` +- `oci` Changing the database env value will require to recreate your setup. You can do this by running `docker compose down -v` and then `docker compose up -d nextcloud`. -All databases use the following credentials by default: +All databases use the following credentials by default (except oracle): - Root password: `nextcloud` - Username: `nextcloud` @@ -72,3 +73,11 @@ docker compose exec database-mariadb-replica mysql -u root -pnextcloud This mode runs a mariadb primary and read replica setup with maxscale as load balancer. The primary is used for writes and the replica for reads where MaxScale is used to perform a read-write-split. The logs of MaxScale can be accessed with `docker compose exec maxscale cat /var/log/maxscale/maxscale.log`. + +### Oracle + +You can access the database with the following command: + +```bash +docker compose exec -ti database-oci sqlplus system/oracle +``` \ No newline at end of file