fix mastodon streaming

This commit is contained in:
Pim Kunis 2023-07-07 13:17:44 +02:00
parent f9cdcfc760
commit b6325b5fef

View file

@ -105,6 +105,10 @@ services:
environment: environment:
- 'REDIS_HOST=redis' - 'REDIS_HOST=redis'
- 'LOCAL_DOMAIN=social.pizzapim.nl' - 'LOCAL_DOMAIN=social.pizzapim.nl'
- 'DB_HOST=db'
- 'DB_USER=mastodon'
- 'DB_NAME=mastodon_production'
- 'DB_PASS=password'
networks: networks:
- mastodon - mastodon
- traefik - traefik
@ -124,6 +128,8 @@ services:
- "traefik.http.routers.mastodon-streaming.rule=(Host(`social.pizzapim.nl`) && PathPrefix(`/api/v1/streaming`))" - "traefik.http.routers.mastodon-streaming.rule=(Host(`social.pizzapim.nl`) && PathPrefix(`/api/v1/streaming`))"
- traefik.http.routers.mastodon-streaming.service=mastodon-streaming - traefik.http.routers.mastodon-streaming.service=mastodon-streaming
- traefik.http.services.mastodon-streaming.loadbalancer.server.port=4000 - traefik.http.services.mastodon-streaming.loadbalancer.server.port=4000
- traefik.http.routers.mastodon-streaming.tls=true
- traefik.http.routers.mastodon-streaming.tls.certresolver=letsencrypt
- traefik.docker.network=traefik - traefik.docker.network=traefik
sidekiq: sidekiq:
image: tootsuite/mastodon:v4.1 image: tootsuite/mastodon:v4.1