Database & Storage Configuration

If you need to change the database host or full base URL after installation:

Edit Configuration File

1. Access your running container or server: 

 docker exec -it <container-id> bash

2. Navigate to

cd /var/www/html/config

3. Edit

app_local.php:
vim app_local.php

4. Update connection details:

‘Datasources’ => [

    ‘default’ => [

        ‘host’ => ‘yourhostname’,

        ‘username’ => ‘yourusername’,

        ‘password’ => ‘Yourpassword’,

        ‘database’ => ‘Yourdatabase’,

    ],

],

‘App’ => [

    ‘fullBaseUrl’ => ‘https://projects.yourdomain.com’,

],

5. Save and restart:

 docker restart <container-id>

Pro Tip: In production, use a dedicated database service with limited privileges (read/write only).
Avoid embedding credentials in scripts—store them in environment variables where possible.

Summary

Post-installation configuration transforms your raw deployment into a production-ready workspace:

  • Create a secure admin account and update branding.
  • Configure SMTP for notifications and SSL for secure access.
  • Set up external storage and reliable backup directories.
  • Verify your database and domain settings before onboarding users.