Page MenuHomePhabricator

Instance Config

Authored By
epriestley
May 27 2015, 6:40 PM
Size
1 KB
Referenced Files
None
Subscribers
None

Instance Config

$config = array(
'cluster.instance' => $instance,
'repository.default-local-path' => $core.'/repo/'.$instance,
'phd.pid-directory' => $core.'/run/'.$instance.'/phd',
'phd.log-directory' => $core.'/log/'.$instance.'/phd',
'storage.default-namespace' => $instance,
'phabricator.cache-namespace' => $instance,
'phabricator.cookie-prefix' => $instance,
$notify_client_uri = "https://{$notification_lb}:443/{$instance}/";
$notify_server_uri = "http://{$notification_host}:22281/";
$config['notification.enabled'] = true;
$config['notification.client-uri'] = $notify_client_uri;
$config['notification.server-uri'] = $notify_server_uri;
$config['diffusion.ssh-user'] = $instance;
$config['diffusion.ssh-host'] = 'vault.phacility.com';
$cloudfront_key = $instance.'.phacility.com';
if (isset($cloudfront_domains[$cloudfront_key])) {
$cloudfront_domain = $cloudfront_domains[$cloudfront_key];
} else {
$cloudfront_domain = $cloudfront_default;
}
$cloudfront_uri = 'https://'.$cloudfront_domain.'/';
$config['security.alternate-file-domain'] = $cloudfront_uri;
$mysql_user = PhacilityCore::getMySQLUserForRole($mysql_role, $instance);
$mysql_pass = PhacilityCore::getMySQLPasswordForRole($mysql_role);
$config['mysql.user'] = $mysql_user;
$config['mysql.pass'] = $mysql_pass;

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
amazon-s3
Storage Format
Raw Data
Storage Handle
phabricator/ez/yt/4r7utsjrfjmd46bn
Default Alt Text
Instance Config (1 KB)

Event Timeline