Apply MariaDB database manifests with isolated credentials
This commit is contained in:
1 parent
9746bd8a74
commit
dde8c93172
6 files changed
+319
-31
No files matched your search
@@ -63,6 +63,27 @@ database and login names.
|
||||
coulobre-database-node inspect coulobre-database-1.json
|
||||
```
|
||||
|
||||
### Apply a database manifest
|
||||
|
||||
Use a local MariaDB server with Unix socket authentication for
|
||||
`root@localhost`. Install Coulobre with the `mariadb` extra in a root-owned
|
||||
virtual environment and apply the downloaded manifest on that server.
|
||||
|
||||
```sh
|
||||
sudo /opt/coulobre/bin/coulobre-database-node apply coulobre-database-1.json
|
||||
```
|
||||
|
||||
The default socket is `/run/mysqld/mysqld.sock`. Use `--socket` for a different
|
||||
local socket. The command creates a UTF-8 database and one login at
|
||||
`localhost` with privileges on that exact database.
|
||||
|
||||
The command reports the path to a root-only credentials file under
|
||||
`/var/lib/coulobre/database-node/`. Use those credentials when configuring the
|
||||
application. Reapplying a manifest preserves the existing password and can
|
||||
complete an interrupted first installation. Coulobre uses its local registry
|
||||
and a database ownership marker to distinguish managed databases from existing
|
||||
resources.
|
||||
|
||||
## Request an Apache configuration preview
|
||||
|
||||
Start RabbitMQ and set `COULOBRE_BROKER_URL` to its AMQP URL. The development
|
||||
|
||||
Reference in new issue
Block a user