mirror of
https://github.com/YunoHost-Apps/xbackbone_ynh.git
synced 2024-09-03 19:15:53 +02:00
fix
This commit is contained in:
parent
9effe056ed
commit
6e9ac75103
3 changed files with 4 additions and 32 deletions
|
@ -1,10 +1,10 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
return [
|
return [
|
||||||
'base_url' => 'https://__DOMAIN____PATH__', // no trailing slash
|
'base_url' => 'https://__DOMAIN____PATH__',
|
||||||
'storage' => [
|
'storage' => [
|
||||||
'driver' => 'local',
|
'driver' => 'local',
|
||||||
'path' => '__INSTALL_DIR__/storage',
|
'path' => '__DATA_DIR__/storage',
|
||||||
],
|
],
|
||||||
'db' => [
|
'db' => [
|
||||||
'connection' => 'sqlite',
|
'connection' => 'sqlite',
|
||||||
|
|
|
@ -1,26 +0,0 @@
|
||||||
<?php
|
|
||||||
|
|
||||||
return array(
|
|
||||||
'base_url' => 'https://__DOMAIN____PATH__',
|
|
||||||
'db' => array (
|
|
||||||
'connection' => 'mysql',
|
|
||||||
'dsn' => 'host=localhost;port=3306;dbname=__DB_USER__',
|
|
||||||
'username' => '__DB_USER__',
|
|
||||||
'password' => '__DB_PWD__',
|
|
||||||
),
|
|
||||||
|
|
||||||
'storage' => array(
|
|
||||||
'driver' => 'local',
|
|
||||||
'path' => '__DATA_DIR__',
|
|
||||||
),
|
|
||||||
|
|
||||||
'ldap' => array(
|
|
||||||
'enabled' => true,
|
|
||||||
'host' => 'ldap://127.0.0.1',
|
|
||||||
'port' => 389,
|
|
||||||
'base_domain' => 'dc=yunohost,dc=org',
|
|
||||||
'user_domain' => 'ou=Users',
|
|
||||||
'rdn_attribute' => 'uid=',
|
|
||||||
),
|
|
||||||
);
|
|
||||||
|
|
|
@ -48,12 +48,10 @@ ram.runtime = "50M"
|
||||||
[resources.install_dir]
|
[resources.install_dir]
|
||||||
|
|
||||||
[resources.data_dir]
|
[resources.data_dir]
|
||||||
|
subdirs = ["storage"]
|
||||||
|
|
||||||
[resources.permissions]
|
[resources.permissions]
|
||||||
main.url = "/"
|
main.url = "/"
|
||||||
|
|
||||||
[resources.apt]
|
[resources.apt]
|
||||||
packages = "mariadb-server php8.2-sqlite3 php8.2-mysql php8.2-gd php8.2-fileinfo php8.2-zip php8.2-ldap"
|
packages = "mariadb-server php8.2-sqlite3 php8.2-gd php8.2-fileinfo php8.2-zip"
|
||||||
|
|
||||||
[resources.database]
|
|
||||||
type = "mysql"
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue