Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Paste
P1791
Instance Config
Active
Public
Actions
Authored by
epriestley
on May 27 2015, 6:40 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F442077: Instance Config
May 27 2015, 6:40 PM
2015-05-27 18:40:55 (UTC+0)
Subscribers
None
$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;
Event Timeline
epriestley
edited the content of this paste.
(Show Details)
May 27 2015, 6:40 PM
2015-05-27 18:40:55 (UTC+0)
epriestley
changed the title of this paste from untitled to
Instance Config
.
epriestley
updated the paste's language from
autodetect
to
autodetect
.
Log In to Comment