1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/xbackbone_ynh.git synced 2024-09-03 19:15:53 +02:00
This commit is contained in:
Éric Gaspar 2023-08-19 15:22:24 +02:00
parent 9effe056ed
commit 6e9ac75103
3 changed files with 4 additions and 32 deletions

View file

@ -1,10 +1,10 @@
<?php
return [
'base_url' => 'https://__DOMAIN____PATH__', // no trailing slash
'base_url' => 'https://__DOMAIN____PATH__',
'storage' => [
'driver' => 'local',
'path' => '__INSTALL_DIR__/storage',
'path' => '__DATA_DIR__/storage',
],
'db' => [
'connection' => 'sqlite',

View file

@ -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=',
),
);

View file

@ -48,12 +48,10 @@ ram.runtime = "50M"
[resources.install_dir]
[resources.data_dir]
subdirs = ["storage"]
[resources.permissions]
main.url = "/"
[resources.apt]
packages = "mariadb-server php8.2-sqlite3 php8.2-mysql php8.2-gd php8.2-fileinfo php8.2-zip php8.2-ldap"
[resources.database]
type = "mysql"
packages = "mariadb-server php8.2-sqlite3 php8.2-gd php8.2-fileinfo php8.2-zip"