From 728cffc453bf3e710c6a2d0e9b03fd522a6f8ae4 Mon Sep 17 00:00:00 2001 From: reynir Date: Tue, 22 Nov 2022 13:38:46 +0000 Subject: [PATCH] Expose mastodon streaming api (#124) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Reynir Björnsson Co-authored-by: Víðir Valberg Guðmundsson Reviewed-on: https://git.data.coop/data.coop/ansible/pulls/124 Co-authored-by: reynir Co-committed-by: reynir --- roles/docker/tasks/services/mastodon.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/docker/tasks/services/mastodon.yml b/roles/docker/tasks/services/mastodon.yml index 1066340..7da21df 100644 --- a/roles/docker/tasks/services/mastodon.yml +++ b/roles/docker/tasks/services/mastodon.yml @@ -70,6 +70,7 @@ environment: VIRTUAL_HOST: "{{ mastodon.domain }}" VIRTUAL_PORT: "3000" + VIRTUAL_PATH: "/" LETSENCRYPT_HOST: "{{ mastodon.domain }}" LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}" @@ -89,6 +90,10 @@ depends_on: - db - redis + environment: + VIRTUAL_HOST: "{{ mastodon.domain }}" + VIRTUAL_PORT: "4000" + VIRTUAL_PATH: "/api/v1/streaming" sidekiq: image: "tootsuite/mastodon:{{ mastodon_version }}"