# Server Settings file

🦄 Chevereto V4 users

Check the updated documentation at 📌 app/env.php (opens new window).

The file at app/settings.php contains the application system level settings.

Running container?

You can ignore using this file as you can pass -e variables on container run.

<?php
$settings = [
    'asset_storage_account_id' => '',
    'asset_storage_account_name' => '',
    'asset_storage_bucket' => '',
    'asset_storage_key' => '',
    'asset_storage_name' => 'assets',
    'asset_storage_region' => '',
    'asset_storage_secret' => '',
    'asset_storage_server' => '',
    'asset_storage_service' => '',
    'asset_storage_type' => 'local',
    'asset_storage_url' => '',
    'db_driver' => 'mysql',
    'db_host' => 'localhost',
    'db_name' => 'chevereto',
    'db_pass' => 'pass',
    'db_pdo_attrs' => [],
    'db_port' => 3306,
    'db_table_prefix' => 'chv_',
    'db_user' => 'user',
    'debug_level' => 1,
    'disable_php_pages' => false,
    'disable_update_http' => false,
    'disable_update_cli' => false,
    'error_log' => 'syslog',
    'hostname_path' => '/',
    'hostname' => 'chevereto.loc',
    'https' => true,
    'image_formats_available' => ['PNG', 'GIF', 'JPG', 'BMP', 'WEBP'],
    'image_library' => 'imagick',
    'session.save_handler' => 'files',
    'session.save_path' => '/tmp',
    'htaccess_enforce' => true,
];

To add or override settings simply assign the key value:

<?php
$settings['key'] = 'value';

Check environment variables for more info.