Move akkounts to redisio cookbook, switch in production #473
@ -42,14 +42,16 @@
|
|||||||
"postfix::_attributes",
|
"postfix::_attributes",
|
||||||
"postfix::sasl_auth",
|
"postfix::sasl_auth",
|
||||||
"hostname::default",
|
"hostname::default",
|
||||||
|
"redisio::default",
|
||||||
|
"redisio::_install_prereqs",
|
||||||
|
"redisio::install",
|
||||||
|
"ulimit::default",
|
||||||
|
"redisio::disable_os_default",
|
||||||
|
"redisio::configure",
|
||||||
|
"redisio::enable",
|
||||||
"kosmos-nodejs::default",
|
"kosmos-nodejs::default",
|
||||||
"nodejs::nodejs_from_package",
|
"nodejs::nodejs_from_package",
|
||||||
"nodejs::repo",
|
"nodejs::repo",
|
||||||
"kosmos-redis::default",
|
|
||||||
"redis::server",
|
|
||||||
"redis::default",
|
|
||||||
"backup::default",
|
|
||||||
"logrotate::default",
|
|
||||||
"nodejs::npm",
|
"nodejs::npm",
|
||||||
"nodejs::install",
|
"nodejs::install",
|
||||||
"kosmos-nginx::default",
|
"kosmos-nginx::default",
|
||||||
|
@ -8,3 +8,5 @@ node.default['akkounts_api']['domain'] = 'api.kosmos.org'
|
|||||||
node.default['akkounts']['lndhub']['api_url'] = nil
|
node.default['akkounts']['lndhub']['api_url'] = nil
|
||||||
node.default['akkounts']['lndhub']['public_url'] = nil
|
node.default['akkounts']['lndhub']['public_url'] = nil
|
||||||
node.default['akkounts']['lndhub']['postgres_db'] = 'lndhub'
|
node.default['akkounts']['lndhub']['postgres_db'] = 'lndhub'
|
||||||
|
|
||||||
|
node.override["redisio"]["version"] = "6.2.6"
|
||||||
|
@ -9,7 +9,7 @@ chef_version '>= 14.0'
|
|||||||
|
|
||||||
depends 'kosmos-nginx'
|
depends 'kosmos-nginx'
|
||||||
depends "kosmos-nodejs"
|
depends "kosmos-nodejs"
|
||||||
depends "kosmos-redis"
|
depends "redisio"
|
||||||
depends "poise-ruby-build"
|
depends "poise-ruby-build"
|
||||||
depends "application"
|
depends "application"
|
||||||
depends 'application_git'
|
depends 'application_git'
|
||||||
|
@ -20,8 +20,9 @@ end
|
|||||||
|
|
||||||
package "libpq-dev"
|
package "libpq-dev"
|
||||||
|
|
||||||
|
include_recipe 'redisio::default'
|
||||||
|
include_recipe 'redisio::enable'
|
||||||
include_recipe 'kosmos-nodejs'
|
include_recipe 'kosmos-nodejs'
|
||||||
include_recipe "kosmos-redis"
|
|
||||||
|
|
||||||
npm_package "yarn" do
|
npm_package "yarn" do
|
||||||
version "1.22.4"
|
version "1.22.4"
|
||||||
@ -82,7 +83,8 @@ systemd_unit "akkounts.service" do
|
|||||||
Unit: {
|
Unit: {
|
||||||
Description: "Kosmos Accounts",
|
Description: "Kosmos Accounts",
|
||||||
Documentation: ["https://gitea.kosmos.org/kosmos/akkounts"],
|
Documentation: ["https://gitea.kosmos.org/kosmos/akkounts"],
|
||||||
After: "network.target"
|
Requires: "redis@6379.service",
|
||||||
|
After: "syslog.target network.target"
|
||||||
},
|
},
|
||||||
Service: {
|
Service: {
|
||||||
Type: "simple",
|
Type: "simple",
|
||||||
@ -110,8 +112,8 @@ systemd_unit "akkounts-sidekiq.service" do
|
|||||||
Unit: {
|
Unit: {
|
||||||
Description: "Kosmos Accounts async/background jobs",
|
Description: "Kosmos Accounts async/background jobs",
|
||||||
Documentation: ["https://gitea.kosmos.org/kosmos/akkounts"],
|
Documentation: ["https://gitea.kosmos.org/kosmos/akkounts"],
|
||||||
Requires: "redis-server.service",
|
Requires: "redis@6379.service",
|
||||||
After: "syslog.target network.target redis-server.service"
|
After: "syslog.target network.target redis@6379.service"
|
||||||
},
|
},
|
||||||
Service: {
|
Service: {
|
||||||
Type: "notify",
|
Type: "notify",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user