Upgrade mastodon to 4.0.2

This commit is contained in:
Víðir Valberg Guðmundsson 2022-11-17 20:40:59 +01:00
parent bcbe0a8285
commit 4bc69b49bb

View file

@ -52,7 +52,7 @@
- "{{ mastodon.volume_folder }}/redis_data:/data" - "{{ mastodon.volume_folder }}/redis_data:/data"
web: web:
image: tootsuite/mastodon:v3.5.3 image: "tootsuite/mastodon:{{ mastodon_version }}"
restart: always restart: always
env_file: "{{ mastodon.volume_folder }}/env_file" env_file: "{{ mastodon.volume_folder }}/env_file"
command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000" command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"
@ -74,7 +74,7 @@
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}" LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
streaming: streaming:
image: tootsuite/mastodon:v3.5.3 image: "tootsuite/mastodon:{{ mastodon_version }}"
restart: always restart: always
env_file: "{{ mastodon.volume_folder }}/env_file" env_file: "{{ mastodon.volume_folder }}/env_file"
command: node ./streaming command: node ./streaming
@ -91,7 +91,7 @@
- redis - redis
sidekiq: sidekiq:
image: tootsuite/mastodon:v3.5.3 image: "tootsuite/mastodon:{{ mastodon_version }}"
restart: always restart: always
env_file: "{{ mastodon.volume_folder }}/env_file" env_file: "{{ mastodon.volume_folder }}/env_file"
command: bundle exec sidekiq command: bundle exec sidekiq
@ -114,3 +114,5 @@
external: true external: true
internal_network: internal_network:
internal: true internal: true
vars:
mastodon_version: "v4.0.2"