Upgrade mastodon
This commit is contained in:
parent
4f2a5b2cb4
commit
938ed017c9
@ -1,4 +1,5 @@
|
|||||||
locals {
|
locals {
|
||||||
|
version = "4.1"
|
||||||
env = [
|
env = [
|
||||||
"LOCAL_DOMAIN=tatooine.club",
|
"LOCAL_DOMAIN=tatooine.club",
|
||||||
"REDIS_HOST=mastodon-redis",
|
"REDIS_HOST=mastodon-redis",
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
module "mastodon-web" {
|
module "mastodon-web" {
|
||||||
name = "mastodon-web"
|
name = "mastodon-web"
|
||||||
source = "../modules/container"
|
source = "../modules/container"
|
||||||
image = "tootsuite/mastodon:v4.0"
|
image = "tootsuite/mastodon:v${local.version}"
|
||||||
|
|
||||||
networks = ["mastodon", "traefik", "external", "postgres"]
|
networks = ["mastodon", "traefik", "external", "postgres"]
|
||||||
|
|
||||||
@ -37,7 +37,7 @@ module "mastodon-web" {
|
|||||||
module "mastodon-streaming" {
|
module "mastodon-streaming" {
|
||||||
name = "mastodon-streaming"
|
name = "mastodon-streaming"
|
||||||
source = "../modules/container"
|
source = "../modules/container"
|
||||||
image = "tootsuite/mastodon:v4.0"
|
image = "tootsuite/mastodon:v${local.version}"
|
||||||
# 24 threads for Streaming
|
# 24 threads for Streaming
|
||||||
env = concat(local.env,[
|
env = concat(local.env,[
|
||||||
"DB_POOL=8",
|
"DB_POOL=8",
|
||||||
@ -65,7 +65,7 @@ module "mastodon-streaming" {
|
|||||||
module "mastodon-sidekiq" {
|
module "mastodon-sidekiq" {
|
||||||
name = "mastodon-sidekiq"
|
name = "mastodon-sidekiq"
|
||||||
source = "../modules/container"
|
source = "../modules/container"
|
||||||
image = "tootsuite/mastodon:v4.0"
|
image = "tootsuite/mastodon:v${local.version}"
|
||||||
env = concat(local.env,[
|
env = concat(local.env,[
|
||||||
"DB_POOL=50"
|
"DB_POOL=50"
|
||||||
])
|
])
|
||||||
|
Loading…
Reference in New Issue
Block a user