Initial Commit
This commit is contained in:
11
config/app.config.js
Normal file
11
config/app.config.js
Normal file
@@ -0,0 +1,11 @@
|
||||
const app_config = {
|
||||
|
||||
/*
|
||||
* The name of the application.
|
||||
* Used through-out the application as the proper display name.
|
||||
*/
|
||||
name: env("APP_NAME", "Flitter"),
|
||||
|
||||
}
|
||||
|
||||
module.exports = app_config
|
||||
32
config/hosts.config.js
Normal file
32
config/hosts.config.js
Normal file
@@ -0,0 +1,32 @@
|
||||
// hosts Configuration
|
||||
const hosts = {
|
||||
|
||||
localhost: {
|
||||
type: 'localhost',
|
||||
packages: {
|
||||
type: 'dnf',
|
||||
},
|
||||
services: {
|
||||
type: 'systemd',
|
||||
},
|
||||
},
|
||||
|
||||
core: {
|
||||
type: 'ssh',
|
||||
ssh_params: {
|
||||
port: 60022,
|
||||
username: 'root',
|
||||
host: 'core.infrastructure',
|
||||
key_file: '/home/garrettmills/.ssh/id_rsa',
|
||||
},
|
||||
packages: {
|
||||
type: 'apt',
|
||||
},
|
||||
services: {
|
||||
type: 'systemd',
|
||||
},
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
module.exports = exports = hosts
|
||||
22
config/server.config.js
Normal file
22
config/server.config.js
Normal file
@@ -0,0 +1,22 @@
|
||||
const server_config = {
|
||||
|
||||
/*
|
||||
* The type of environment the application is running in.
|
||||
* Usually, either "production" or "development".
|
||||
* Development mode may cause the application to output extra
|
||||
* debugging information not secure enough for production.
|
||||
*/
|
||||
environment: env("ENVIRONMENT", "production"),
|
||||
|
||||
logging: {
|
||||
|
||||
/*
|
||||
* The logging level. Usually, 1-4.
|
||||
* The higher the level, the more information is logged.
|
||||
*/
|
||||
level: env("LOGGING_LEVEL", 1)
|
||||
},
|
||||
|
||||
}
|
||||
|
||||
module.exports = server_config
|
||||
Reference in New Issue
Block a user