From 4bc69b49bb4576a3afbf13d297764467515c99d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Thu, 17 Nov 2022 20:40:59 +0100 Subject: [PATCH] Upgrade mastodon to 4.0.2 --- roles/docker/tasks/services/mastodon.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/roles/docker/tasks/services/mastodon.yml b/roles/docker/tasks/services/mastodon.yml index bdb34cb..c3e976a 100644 --- a/roles/docker/tasks/services/mastodon.yml +++ b/roles/docker/tasks/services/mastodon.yml @@ -52,7 +52,7 @@ - "{{ mastodon.volume_folder }}/redis_data:/data" web: - image: tootsuite/mastodon:v3.5.3 + image: "tootsuite/mastodon:{{ mastodon_version }}" restart: always env_file: "{{ mastodon.volume_folder }}/env_file" command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000" @@ -74,7 +74,7 @@ LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}" streaming: - image: tootsuite/mastodon:v3.5.3 + image: "tootsuite/mastodon:{{ mastodon_version }}" restart: always env_file: "{{ mastodon.volume_folder }}/env_file" command: node ./streaming @@ -91,7 +91,7 @@ - redis sidekiq: - image: tootsuite/mastodon:v3.5.3 + image: "tootsuite/mastodon:{{ mastodon_version }}" restart: always env_file: "{{ mastodon.volume_folder }}/env_file" command: bundle exec sidekiq @@ -114,3 +114,5 @@ external: true internal_network: internal: true + vars: + mastodon_version: "v4.0.2" \ No newline at end of file