mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
initial nix based docker images
This commit is contained in:
parent
4972a889eb
commit
06bf3b4b62
72 changed files with 472 additions and 789 deletions
9
nix/image/configs/nc/autoconfig_ldap.php
Normal file
9
nix/image/configs/nc/autoconfig_ldap.php
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
$AUTOCONFIG = [
|
||||
'dbname' => 'haze',
|
||||
'dbhost' => 'pgsql',
|
||||
'dbuser' => 'haze',
|
||||
'dbpass' => 'haze',
|
||||
'dbtype' => 'pgsql'
|
||||
];
|
||||
9
nix/image/configs/nc/autoconfig_mariadb.php
Normal file
9
nix/image/configs/nc/autoconfig_mariadb.php
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
$AUTOCONFIG = [
|
||||
'dbname' => 'haze',
|
||||
'dbhost' => 'mariadb',
|
||||
'dbuser' => 'haze',
|
||||
'dbpass' => 'haze',
|
||||
'dbtype' => 'mysql'
|
||||
];
|
||||
9
nix/image/configs/nc/autoconfig_mysql.php
Normal file
9
nix/image/configs/nc/autoconfig_mysql.php
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
$AUTOCONFIG = [
|
||||
'dbname' => 'haze',
|
||||
'dbhost' => 'mysql',
|
||||
'dbuser' => 'haze',
|
||||
'dbpass' => 'haze',
|
||||
'dbtype' => 'mysql'
|
||||
];
|
||||
9
nix/image/configs/nc/autoconfig_oci.php
Normal file
9
nix/image/configs/nc/autoconfig_oci.php
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
$AUTOCONFIG = [
|
||||
'dbname' => 'xe',
|
||||
'dbhost' => 'oracle',
|
||||
'dbuser' => 'system',
|
||||
'dbpass' => 'haze',
|
||||
'dbtype' => 'oci'
|
||||
];
|
||||
9
nix/image/configs/nc/autoconfig_pgsql.php
Normal file
9
nix/image/configs/nc/autoconfig_pgsql.php
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
|
||||
$AUTOCONFIG = [
|
||||
'dbname' => 'haze',
|
||||
'dbhost' => 'pgsql',
|
||||
'dbuser' => 'haze',
|
||||
'dbpass' => 'haze',
|
||||
'dbtype' => 'pgsql'
|
||||
];
|
||||
10
nix/image/configs/nc/azure.php
Normal file
10
nix/image/configs/nc/azure.php
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
'objectstore' => [
|
||||
'class' => 'OC\\Files\\ObjectStore\\Azure',
|
||||
'arguments' => array(
|
||||
'container' => 'test',
|
||||
'account_name' => 'devstoreaccount1',
|
||||
'account_key' => 'Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==',
|
||||
'endpoint' => 'http://azure:10000/devstoreaccount1',
|
||||
'autocreate' => true
|
||||
)
|
||||
],
|
||||
12
nix/image/configs/nc/config.php
Normal file
12
nix/image/configs/nc/config.php
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?php $CONFIG=[
|
||||
'debug' => true,
|
||||
'appstoreenabled' => false,
|
||||
'memcache.local' => '\\OC\\Memcache\\APCu',
|
||||
'memcache.distributed' => '\\OC\\Memcache\\APCu',
|
||||
'memcache.locking' => '\\OC\\Memcache\\APCu',
|
||||
'allow_local_remote_servers' => true,
|
||||
'trusted_domains' => ['cloud'],
|
||||
'profiling.secret' => 'haze',
|
||||
'profiling.path' => '/tmp/profiling',
|
||||
//PLACEHOLDER
|
||||
];
|
||||
10
nix/image/configs/nc/ldap.php
Normal file
10
nix/image/configs/nc/ldap.php
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
'objectstore' => [
|
||||
'class' => 'OC\\Files\\ObjectStore\\Azure',
|
||||
'arguments' => array(
|
||||
'container' => 'test',
|
||||
'account_name' => 'devstoreaccount1',
|
||||
'account_key' => 'Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==',
|
||||
'endpoint' => 'http://azure:10000/devstoreaccount1',
|
||||
'autocreate' => true
|
||||
)
|
||||
],
|
||||
2
nix/image/configs/nc/redis-default.php
Normal file
2
nix/image/configs/nc/redis-default.php
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
'redis' => ['host' => 'localhost'],
|
||||
//PLACEHOLDER
|
||||
11
nix/image/configs/nc/redis-tls.php
Normal file
11
nix/image/configs/nc/redis-tls.php
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
'redis' => [
|
||||
'host' => 'tls://127.0.0.1',
|
||||
'port' => 6379,
|
||||
'ssl_context' => [
|
||||
'local_cert' => '/redis-certificates/client.crt',
|
||||
'local_pk' => '/redis-certificates/client.key',
|
||||
'cafile' => '/redis-certificates/ca.crt',
|
||||
'verify_peer_name' => false,
|
||||
],
|
||||
],
|
||||
//PLACEHOLDER
|
||||
14
nix/image/configs/nc/s3.php
Normal file
14
nix/image/configs/nc/s3.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
'objectstore' => [
|
||||
'class' => 'OC\Files\ObjectStore\S3',
|
||||
'arguments' => [
|
||||
'bucket' => 'nextcloud',
|
||||
'autocreate' => true,
|
||||
'key' => 'minio',
|
||||
'secret' => 'minio123',
|
||||
'hostname' => 's3',
|
||||
'port' => 9000,
|
||||
'use_ssl' => false,
|
||||
'use_path_style' => true,
|
||||
'uploadPartSize' => 52428800,
|
||||
],
|
||||
],
|
||||
47
nix/image/configs/nc/s3m.php
Normal file
47
nix/image/configs/nc/s3m.php
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
'objectstore' => [
|
||||
'default' => 'multi',
|
||||
'multi' => [
|
||||
'class' => 'OC\Files\ObjectStore\S3',
|
||||
'arguments' => [
|
||||
'multibucket' => true,
|
||||
'num_buckets' => 8,
|
||||
'bucket' => 'nextcloud-multi-',
|
||||
'autocreate' => true,
|
||||
'key' => 'minio',
|
||||
'secret' => 'minio123',
|
||||
'hostname' => 's3',
|
||||
'port' => 9000,
|
||||
'use_ssl' => false,
|
||||
'use_path_style' => true,
|
||||
'uploadPartSize' => 52428800,
|
||||
],
|
||||
],
|
||||
'single' => [
|
||||
'class' => 'OC\Files\ObjectStore\S3',
|
||||
'arguments' => [
|
||||
'bucket' => 'nextcloud-single',
|
||||
'autocreate' => true,
|
||||
'key' => 'minio',
|
||||
'secret' => 'minio123',
|
||||
'hostname' => 's3',
|
||||
'port' => 9000,
|
||||
'use_ssl' => false,
|
||||
'use_path_style' => true,
|
||||
'uploadPartSize' => 52428800,
|
||||
],
|
||||
],
|
||||
'root' => [
|
||||
'class' => 'OC\Files\ObjectStore\S3',
|
||||
'arguments' => [
|
||||
'bucket' => 'nextcloud-root',
|
||||
'autocreate' => true,
|
||||
'key' => 'minio',
|
||||
'secret' => 'minio123',
|
||||
'hostname' => 's3',
|
||||
'port' => 9000,
|
||||
'use_ssl' => false,
|
||||
'use_path_style' => true,
|
||||
'uploadPartSize' => 52428800,
|
||||
],
|
||||
],
|
||||
],
|
||||
15
nix/image/configs/nc/s3mb.php
Normal file
15
nix/image/configs/nc/s3mb.php
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
'objectstore_multibucket' => [
|
||||
'class' => 'OC\Files\ObjectStore\S3',
|
||||
'arguments' => [
|
||||
'num_buckets' => 64,
|
||||
'bucket' => 'nextcloud-',
|
||||
'autocreate' => true,
|
||||
'key' => 'minio',
|
||||
'secret' => 'minio123',
|
||||
'hostname' => 's3',
|
||||
'port' => 9000,
|
||||
'use_ssl' => false,
|
||||
'use_path_style' => true,
|
||||
'uploadPartSize' => 52428800,
|
||||
],
|
||||
],
|
||||
14
nix/image/configs/nc/swift.php
Normal file
14
nix/image/configs/nc/swift.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
'objectstore' => [
|
||||
'class' => 'OC\Files\ObjectStore\Swift',
|
||||
'arguments' => [
|
||||
// replace with your bucket
|
||||
'bucket' => 'nextcloud',
|
||||
'autocreate' => true,
|
||||
'username' => 'swift',
|
||||
'password' => 'swift',
|
||||
'tenantName' => 'service',
|
||||
'region' => 'regionOne',
|
||||
'url' => 'http://keystone:5000/v2.0',
|
||||
'serviceName' => 'swift',
|
||||
],
|
||||
],
|
||||
27
nix/image/configs/nc/swiftv3.php
Normal file
27
nix/image/configs/nc/swiftv3.php
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
'objectstore' => [
|
||||
'class' => 'OC\Files\ObjectStore\Swift',
|
||||
'arguments' => [
|
||||
// replace with your bucket
|
||||
'bucket' => 'nextcloud',
|
||||
'autocreate' => true,
|
||||
'user' => [
|
||||
'name' => 'swift',
|
||||
'password' => 'swift',
|
||||
'domain' => [
|
||||
'name' => 'default',
|
||||
]
|
||||
],
|
||||
'scope' => [
|
||||
'project' => [
|
||||
'name' => 'service',
|
||||
'domain' => [
|
||||
'name' => 'default',
|
||||
],
|
||||
],
|
||||
],
|
||||
'tenantName' => 'service',
|
||||
'region' => 'regionOne',
|
||||
'url' => 'http://keystone:5000/v3',
|
||||
'serviceName' => 'swift',
|
||||
],
|
||||
],
|
||||
Loading…
Add table
Add a link
Reference in a new issue