From a1387a7220dad08822b0bb22666559824614fad5 Mon Sep 17 00:00:00 2001 From: saibotk Date: Thu, 10 Aug 2023 12:23:34 +0200 Subject: [PATCH] mastodon: Switch to GH container registry --- roles/mastodon/defaults/main.yml | 2 +- roles/mastodon/templates/docker-compose.yml | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/mastodon/defaults/main.yml b/roles/mastodon/defaults/main.yml index 22bef73..a74d22a 100644 --- a/roles/mastodon/defaults/main.yml +++ b/roles/mastodon/defaults/main.yml @@ -51,7 +51,7 @@ mastodon_config: mastodon_elasticsearch_adjust_sysctl: true # Container versions -# renovate: depName=docker.io/tootsuite/mastodon +# renovate: depName=ghcr.io/mastodon/mastodon mastodon_version: 4.2.0-beta1 # renovate: depName=docker.io/library/postgres mastodon_database_version: 15.3 diff --git a/roles/mastodon/templates/docker-compose.yml b/roles/mastodon/templates/docker-compose.yml index d5ea4ff..287e0c8 100644 --- a/roles/mastodon/templates/docker-compose.yml +++ b/roles/mastodon/templates/docker-compose.yml @@ -115,7 +115,7 @@ services: {% endif %} web: - image: docker.io/tootsuite/mastodon:{{ mastodon_image_version }} + image: ghcr.io/mastodon/mastodon:{{ mastodon_image_version }} mem_limit: 1024mb memswap_limit: 1280mb env_file: {{ mastodon_install_location }}/.env.production @@ -133,7 +133,7 @@ services: command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000 -b '0.0.0.0'" streaming: - image: docker.io/tootsuite/mastodon:{{ mastodon_image_version }} + image: ghcr.io/mastodon/mastodon:{{ mastodon_image_version }} mem_limit: 1024mb memswap_limit: 1280mb env_file: {{ mastodon_install_location }}/.env.production @@ -149,7 +149,7 @@ services: command: node ./streaming sidekiq: - image: docker.io/tootsuite/mastodon:{{ mastodon_image_version }} + image: ghcr.io/mastodon/mastodon:{{ mastodon_image_version }} mem_limit: 1024mb memswap_limit: 1280mb env_file: {{ mastodon_install_location }}/.env.production