Expose mastodon streaming api

This commit is contained in:
Reynir Björnsson 2022-11-22 14:19:02 +01:00
parent d467084fb7
commit 77e797355c

View file

@ -83,12 +83,18 @@
- internal_network
healthcheck:
# prettier-ignore
# FIXME: locahost:4000
test: ['CMD-SHELL', 'wget -q --spider --proxy=off localhost:4000/api/v1/streaming/health || exit 1']
ports:
- '127.0.0.1:4000:4000'
expose: 4000
depends_on:
- db
- redis
environment:
VIRTUAL_HOST: "{{ mastodon.domain }}"
VIRTUAL_PORT: "4000"
VIRTUAL_PATH: "/api/v1/streaming"
LETSENCRYPT_HOST: "{{ mastodon.domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
sidekiq:
image: "tootsuite/mastodon:{{ mastodon_version }}"