fix mastodon streaming
This commit is contained in:
parent
f9cdcfc760
commit
b6325b5fef
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue