Initial Commit

This commit is contained in:
garrettmills
2020-02-21 00:36:55 -06:00
commit e2016069f2
40 changed files with 4902 additions and 0 deletions

11
config/app.config.js Normal file
View 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
View 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
View 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