🏡 index : github.com/captn3m0/nebula.git

author Nemo <commits@captnemo.in> 2023-03-11 17:19:01.0 +05:30:00
committer Nemo <commits@captnemo.in> 2023-03-11 17:19:01.0 +05:30:00
commit
938ed017c943ee4d9751f5bc7e44c74185fe30bc [patch]
tree
089f2eaf323ac0f38115826ebfbd9eadc3b90630
parent
4f2a5b2cb465c4d020675f693e7ffa588c75a8fb
download
938ed017c943ee4d9751f5bc7e44c74185fe30bc.tar.gz

Upgrade mastodon



Diff

 mastodon/locals.tf | 1 +
 mastodon/main.tf   | 6 ++++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/mastodon/locals.tf b/mastodon/locals.tf
index 10d6f84..d6efc37 100644
--- a/mastodon/locals.tf
+++ a/mastodon/locals.tf
@@ -1,4 +1,5 @@
locals {

  version = "4.1"
  env = [

    "LOCAL_DOMAIN=tatooine.club",
    "REDIS_HOST=mastodon-redis",
diff --git a/mastodon/main.tf b/mastodon/main.tf
index 35e2c86..60a8960 100644
--- a/mastodon/main.tf
+++ a/mastodon/main.tf
@@ -1,7 +1,7 @@
module "mastodon-web" {

  name   = "mastodon-web"
  source = "../modules/container"
  image  = "tootsuite/mastodon:v4.0"
  image  = "tootsuite/mastodon:v${local.version}"

  networks = ["mastodon", "traefik", "external", "postgres"]

@@ -37,7 +37,7 @@
module "mastodon-streaming" {

  name   = "mastodon-streaming"
  source = "../modules/container"
  image  = "tootsuite/mastodon:v4.0"
  image  = "tootsuite/mastodon:v${local.version}"
  # 24 threads for Streaming
  env = concat(local.env,[

    "DB_POOL=8",
@@ -65,7 +65,7 @@
module "mastodon-sidekiq" {

  name   = "mastodon-sidekiq"
  source = "../modules/container"
  image  = "tootsuite/mastodon:v4.0"
  image  = "tootsuite/mastodon:v${local.version}"
  env = concat(local.env,[

    "DB_POOL=50"
  ])