Upgrade mastodon
Diff
mastodon/locals.tf | 1 +
mastodon/main.tf | 6 ++++--
2 files changed, 4 insertions(+), 3 deletions(-)
@@ -1,4 +1,5 @@
locals {
version = "4.1"
env = [
"LOCAL_DOMAIN=tatooine.club",
"REDIS_HOST=mastodon-redis",
@@ -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}"
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"
])