aboutsummaryrefslogtreecommitdiff
path: root/consul/configuration/nextcloud/config.php.tpl
blob: 7dcfc6eb2fc27cfb23bceec17ea93e7d398a33b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
$CONFIG = array (
  'appstoreenabled' => false,
  'instanceid' => '{{ key "secrets/nextcloud/instance_id" | trimSpace }}',
  'passwordsalt' => '{{ key "secrets/nextcloud/password_salt" | trimSpace }}',
  'secret' => '{{ key "secrets/nextcloud/secret" | trimSpace }}',
  'trusted_domains' => array (
    0 => 'nextcloud.deuxfleurs.fr',
  ),
  'memcache.local' => '\\OC\\Memcache\\APCu',

  'objectstore' => array(
    'class' => '\\OC\\Files\\ObjectStore\\S3',
    'arguments' => array(
          'bucket' => 'nextcloud',
          'autocreate' => false,
          'key'    => '{{ key "secrets/nextcloud/garage_access_key" | trimSpace }}',
          'secret' => '{{ key "secrets/nextcloud/garage_secret_key" | trimSpace }}',
          'hostname' => 'garage.deuxfleurs.fr',
          'port' => 443,
          'use_ssl' => true,
          'region' => 'garage',
          // required for some non Amazon S3 implementations
          'use_path_style' => true
    ),
  ),

  'dbtype' => 'pgsql',
  'dbhost' => 'psql-proxy.service.2.cluster.deuxfleurs.fr',
  'dbname' => 'nextcloud',
  'dbtableprefix' => 'nc_',
  'dbuser' => '{{ key "secrets/nextcloud/db_user" | trimSpace }}',
  'dbpassword' => '{{ key "secrets/nextcloud/db_pass" | trimSpace }}',

  'default_language' => 'fr',
  'default_locale' => 'fr_FR',

  'mail_domain' => 'deuxfleurs.fr',
  'mail_from_address' => 'nextcloud@deuxfleurs.fr',
  // TODO SMTP CONFIG

  // TODO REDIS CACHE

  'version' => '19.0.0.12',
  'overwrite.cli.url' => 'https://nextcloud.deuxfleurs.fr',

  'installed' => true,
);