Fix configuration files
This commit is contained in:
parent
767a9e0641
commit
5e7d29ab98
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
app: {
|
app: {
|
||||||
name: 'Example App',
|
name: 'ily.li',
|
||||||
contact_email: 'contact@example.net'
|
contact_email: 'contact@ily.li',
|
||||||
},
|
},
|
||||||
log_level: "DEV",
|
log_level: "DEV",
|
||||||
db_log_level: "ERROR",
|
db_log_level: "ERROR",
|
||||||
@ -13,18 +13,18 @@
|
|||||||
host: "localhost",
|
host: "localhost",
|
||||||
user: "root",
|
user: "root",
|
||||||
password: "",
|
password: "",
|
||||||
database: "example_app",
|
database: "ilyli",
|
||||||
create_database_automatically: false
|
create_database_automatically: false,
|
||||||
},
|
},
|
||||||
redis: {
|
redis: {
|
||||||
host: "127.0.0.1",
|
host: "127.0.0.1",
|
||||||
port: 6379,
|
port: 6379,
|
||||||
prefix: 'example_app'
|
prefix: 'ilyli',
|
||||||
},
|
},
|
||||||
session: {
|
session: {
|
||||||
cookie: {
|
cookie: {
|
||||||
secure: false
|
secure: false,
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
mail: {
|
mail: {
|
||||||
host: "127.0.0.1",
|
host: "127.0.0.1",
|
||||||
@ -33,11 +33,22 @@
|
|||||||
username: "",
|
username: "",
|
||||||
password: "",
|
password: "",
|
||||||
allow_invalid_tls: true,
|
allow_invalid_tls: true,
|
||||||
from: 'contact@example.net',
|
from: 'contact@ily.li',
|
||||||
from_name: 'Example App',
|
from_name: 'ily.li',
|
||||||
},
|
},
|
||||||
view: {
|
view: {
|
||||||
cache: false
|
cache: false,
|
||||||
},
|
},
|
||||||
|
newlyGeneratedSlugSize: 3,
|
||||||
|
default_file_ttl: 30, // 30 seconds
|
||||||
|
max_upload_size: 16, // MB
|
||||||
|
max_hotlink_size: 1, // MB
|
||||||
approval_mode: false,
|
approval_mode: false,
|
||||||
|
domain: 'localhost',
|
||||||
|
allowed_url_domains: [
|
||||||
|
'localhost:4893',
|
||||||
|
'127.0.0.1:4893',
|
||||||
|
],
|
||||||
|
default_url_domain_for_files: 0,
|
||||||
|
default_url_domain_for_urls: 1,
|
||||||
}
|
}
|
||||||
|
@ -1,42 +0,0 @@
|
|||||||
export default Object.assign(require("wms-core/config/default").default, {
|
|
||||||
app: {
|
|
||||||
name: 'ily.li',
|
|
||||||
contact_email: 'contact@ily.li'
|
|
||||||
},
|
|
||||||
domain: 'localhost',
|
|
||||||
base_url: 'http://localhost:4893',
|
|
||||||
public_websocket_url: 'ws://localhost:4893',
|
|
||||||
port: 4893,
|
|
||||||
mysql: {
|
|
||||||
connectionLimit: 10,
|
|
||||||
host: "localhost",
|
|
||||||
user: "root",
|
|
||||||
password: "",
|
|
||||||
database: "ilyli",
|
|
||||||
create_database_automatically: false
|
|
||||||
},
|
|
||||||
magic_link: {
|
|
||||||
validity_period: 20
|
|
||||||
},
|
|
||||||
newlyGeneratedSlugSize: 3,
|
|
||||||
default_file_ttl: 30, // 30 seconds
|
|
||||||
max_upload_size: 16, // MB
|
|
||||||
max_hotlink_size: 1, // MB
|
|
||||||
approval_mode: false,
|
|
||||||
mail: {
|
|
||||||
host: "127.0.0.1",
|
|
||||||
port: "1025",
|
|
||||||
secure: false,
|
|
||||||
username: "",
|
|
||||||
password: "",
|
|
||||||
allow_invalid_tls: true,
|
|
||||||
from: 'contact@ily.li',
|
|
||||||
from_name: 'ily.li',
|
|
||||||
},
|
|
||||||
allowed_url_domains: [
|
|
||||||
'localhost:4893',
|
|
||||||
'127.0.0.1:4893',
|
|
||||||
],
|
|
||||||
default_url_domain_for_files: 0,
|
|
||||||
default_url_domain_for_urls: 1,
|
|
||||||
});
|
|
@ -1,15 +1,27 @@
|
|||||||
{
|
{
|
||||||
log_level: "DEBUG",
|
log_level: "DEBUG",
|
||||||
db_log_level: "ERROR",
|
db_log_level: "ERROR",
|
||||||
public_url: "https://watch-my.stream",
|
public_url: 'https://ily.li',
|
||||||
public_websocket_url: "wss://watch-my.stream",
|
public_websocket_url: 'wss://ily.li',
|
||||||
session: {
|
session: {
|
||||||
cookie: {
|
cookie: {
|
||||||
secure: true
|
secure: true
|
||||||
}
|
},
|
||||||
},
|
},
|
||||||
mail: {
|
mail: {
|
||||||
secure: true,
|
secure: true,
|
||||||
allow_invalid_tls: false
|
allow_invalid_tls: false
|
||||||
}
|
},
|
||||||
|
newlyGeneratedSlugSize: 5,
|
||||||
|
default_file_ttl: 2592000, // 30 days
|
||||||
|
max_upload_size: 8192, // MB
|
||||||
|
max_hotlink_size: 128, // MB
|
||||||
|
approval_mode: true,
|
||||||
|
domain: 'ily.li',
|
||||||
|
allowed_url_domains: [
|
||||||
|
'ily.li',
|
||||||
|
'gris.li',
|
||||||
|
],
|
||||||
|
default_url_domain_for_files: 0,
|
||||||
|
default_url_domain_for_urls: 1,
|
||||||
}
|
}
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
export default Object.assign(require("wms-core/config/production").default, {
|
|
||||||
domain: 'ily.li',
|
|
||||||
base_url: 'https://ily.li',
|
|
||||||
public_websocket_url: 'wss://ily.li',
|
|
||||||
mysql: {
|
|
||||||
connectionLimit: 10,
|
|
||||||
host: "localhost",
|
|
||||||
user: "root",
|
|
||||||
password: "",
|
|
||||||
database: "ilyli",
|
|
||||||
},
|
|
||||||
magic_link: {
|
|
||||||
validity_period: 900
|
|
||||||
},
|
|
||||||
newlyGeneratedSlugSize: 5,
|
|
||||||
default_file_ttl: 30 * 24 * 3600, // 30 days
|
|
||||||
max_upload_size: 8192, // MB
|
|
||||||
max_hotlink_size: 128, // MB
|
|
||||||
approval_mode: true,
|
|
||||||
mail: {
|
|
||||||
secure: true,
|
|
||||||
allow_invalid_tls: false
|
|
||||||
},
|
|
||||||
allowed_url_domains: [
|
|
||||||
'ily.li',
|
|
||||||
'gris.li',
|
|
||||||
],
|
|
||||||
default_url_domain_for_files: 0,
|
|
||||||
default_url_domain_for_urls: 1,
|
|
||||||
});
|
|
@ -3,7 +3,7 @@
|
|||||||
host: "localhost",
|
host: "localhost",
|
||||||
user: "root",
|
user: "root",
|
||||||
password: "",
|
password: "",
|
||||||
database: "swaf_test",
|
database: "ilyli_test",
|
||||||
create_database_automatically: true
|
create_database_automatically: true,
|
||||||
}
|
},
|
||||||
}
|
}
|
||||||
|
@ -1,9 +0,0 @@
|
|||||||
export default Object.assign(require("wms-core/config/test").default, {
|
|
||||||
mysql: {
|
|
||||||
database: "ilyli_test",
|
|
||||||
create_database_automatically: true
|
|
||||||
},
|
|
||||||
magic_link: {
|
|
||||||
validity_period: 2
|
|
||||||
},
|
|
||||||
});
|
|
Loading…
Reference in New Issue
Block a user