Base ready

This commit is contained in:
2019-06-30 21:40:37 -04:00
parent 6a330af319
commit ec6f4134be
304 changed files with 16820 additions and 0 deletions

View File

View File

@ -0,0 +1,6 @@
require 'securerandom'
node.default['db']['name'] = "#{node['app']['name']}"
node.default['db']['user'] = "#{node['app']['name']}"
node.default['db']['root_password'] = SecureRandom.hex(13)
node.default['db']['password'] = SecureRandom.hex(13)

View File

@ -0,0 +1,5 @@
default['nodejs']['env_path'] = "/opt/theta42/#{node['app']['name']}/env/node"
default['NodeJS']['version'] = 8
default['NodeJS']['working-dir'] = 'src/nodejs'
default['NodeJS']['exec_file'] = 'app.js'
default['NodeJS']['port'] = '8001'

View File

@ -0,0 +1,5 @@
require 'securerandom'
default['db']['name'] = node['app']['name']
default['db']['user'] = node['app']['name']
default['db']['password'] = SecureRandom.hex(13)

View File

@ -0,0 +1,3 @@
default['python']['env_path'] = "/opt/theta42/#{node['app']['name']}/env/python"
default['python']['version'] = '3.6'
default['python']['pip_requirements_path'] = 'requirements.txt'

View File

@ -0,0 +1 @@
default['redis']['unix']['path'] = '/var/run/redis/redis.sock'