Page MenuHomec4science

myconfig.conf.php
No OneTemporary

File Metadata

Created
Mon, Nov 25, 04:20

myconfig.conf.php

<?php
return array(
'phabricator.base-uri' => '{{ http_scheme }}{{ domain }}/',
'phabricator.timezone' => 'Europe/Berlin',
'phabricator.serious-business' => true,
'phabricator.show-prototypes' => true,
'phabricator.developer-mode' => {{ developer_mode }},
'phabricator.allowed-uris' => array(
'{{ http_scheme }}{{ domain }}/',
'{{ http_scheme }}www.{{ domain }}/'
),
'log.access.path' => '/var/log/phabricator/access.log',
'log.ssh.path' => '/var/log/phabricator/ssh.log',
'user.custom-field-definitions' => array(
'c4science:org' => array(
'name' => 'Organization',
'type' => 'text',
'caption' => 'Domain name of a home organization',
'required' => false,
'search' => true
)
),
'debug.sample-rate' => 0,
'phd.log-directory' => '/var/log/phabricator',
'phd.taskmasters' => 10,
'phd.user' => '{{ phd_user }}',
'security.strict-transport-security' => true,
'security.require-https' => true,
'security.alternate-file-domain' => '{{ http_scheme }}{{ file_domain }}/',
'darkconsole.enabled' => false,
'policy.allow-public' => true,
'auth.require-approval' => false,
'auth.require-email-verification' => false,
'cluster.addresses' => array(
{% for host in groups['app'] %}
"{{ hostvars[host]['inventory_hostname'] }}/32",
{% endfor %}
),
'diffusion.ssh-user' => '{{ vcs_user }}',
//'diffusion.ssh-port' => {{ vcs_port_front }},
'diffusion.allow-http-auth' => true,
'cluster.databases' => array(
{% for host in groups['dbs'] %}
array(
'host' => '{{ host }}',
'role' => '{% if loop.first %}master{% else %}replica{% endif %}'
),
{% endfor %}
),
'mysql.pass' => '{{ mysql_app_pass }}',
'mysql.user' => '{{ mysql_app_user }}',
'notification.servers' => array(
array(
'type' => 'client',
'host' => '{{ domain }}',
'port' => 22280,
'protocol' => 'https',
),
{% for host in groups['app'] %}
array(
'type' => 'admin',
'host' => '{{ host }}',
'port' => 22281,
'protocol' => 'http',
),
{% endfor %}
),
//'amazon-s3.access-key' => '{{ s3_access_key }}',
//'amazon-s3.secret-key' => '{{ s3_secret_key }}',
//'amazon-s3.endpoint' => '{{ s3_endpoint }}',
//'amazon-s3.region' => '{{ s3_region }}',
//'storage.s3.bucket' => '{{ s3_bucket }}',
'storage.local-disk.path' => '{{ repositories_path }}files',
'files.enable-imagemagick' => true,
#'auth.email-domains' => [
# {% for domain in phabricator_domains %}
# "{{ domain }}",
# {% endfor %}
#],
'pygments.enabled' => true,
'environment.append-paths' => array(
"/usr/libexec/git-core",
"/bin",
"/usr/bin",
"/usr/local/bin"
),
'metamta.default-address' => 'phabricator@{{ domain }}',
'metamta.domain' => '{{ domain }}',
'metamta.reply-handler-domain' => '{{ domain }}',
'metamta.single-reply-handler-prefix' => 'phabricator',
'jenkins.url' => '{{ jenkins_url }}',
'jenkins.user' => '{{ jenkins_user }}',
'jenkins.token' => '{{ jenkins_token }}',
'jenkins.repo_cred' => '{{ jenkins_cred }}',
);

Event Timeline