diff --git a/roles/phabricator/templates/myconfig.conf.php b/roles/phabricator/templates/myconfig.conf.php index 9a075fc..c072320 100644 --- a/roles/phabricator/templates/myconfig.conf.php +++ b/roles/phabricator/templates/myconfig.conf.php @@ -1,83 +1,85 @@ '{{ 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 }}{{ external_ip }}/' ), + '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' => 20, 'phd.user' => '{{ phd_user }}', 'security.strict-transport-security' => true, 'security.require-https' => true, 'security.alternate-file-domain' => '{{ 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 }}', //'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', );