Expose mastodon streaming api #124

Merged
valberg merged 2 commits from mastodon-streaming into main 2022-11-22 13:38:47 +00:00
Showing only changes of commit cebb80fa12 - Show all commits

View file

@ -70,6 +70,7 @@
environment:
VIRTUAL_HOST: "{{ mastodon.domain }}"
VIRTUAL_PORT: "3000"
VIRTUAL_PATH: "/"
LETSENCRYPT_HOST: "{{ mastodon.domain }}"
LETSENCRYPT_EMAIL: "{{ letsencrypt_email }}"
@ -83,9 +84,9 @@
- internal_network
healthcheck:
# prettier-ignore
# FIXME: locahost:4000
test: ['CMD-SHELL', 'wget -q --spider --proxy=off localhost:4000/api/v1/streaming/health || exit 1']
expose: 4000
ports:
- '127.0.0.1:4000:4000'
depends_on:
- db
- redis
@ -93,8 +94,6 @@
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 }}"