Oh, Mastodon 2.9.3 has been released yesterday?

Seems I'll have to read up on some never-changed config options, since this is going to kill my setup: "Change default interface of web and streaming from 0.0.0.0 to 127.0.0.1"

Follow

Uh... This is slightly complicated by the fact that the environment variables documentation at docs.joinmastodon.org/administ is just a list of available variables, with now information whatsoever on their usage...

Judging from this commit: github.com/tootsuite/mastodon/
the BIND environment variable should now by honoured by both streaming and web server, so let's try to just add BIND=0.0.0.0 to .env.production and see what happens with that...

@djsundog Yeah, somehow the documentation project was way more lively when it was just a collection of markown files in their own repo...

@djsundog On the other hand the 2.9.3 release notes mention that "If you were relying on Puma and Node binding to 0.0.0.0 by default for your setup, adjust your configuration by using the BIND=0.0.0.0 environment variable"...

Either I missed that yesterday, or they've been updated...

After checking back with the systemd service files provided in the Mastodon dist/ directory, those don't seem to source .env.production...

So to make streaming and web servers listen on all (v4) interfaces, both mastodon-web.service and mastodon-streaming.service (in /etc/systemd/system) need an additional line with
Environment="BIND=0.0.0.0"

Sign in to participate in the conversation
INFRa Mastodon

This Mastodon instance is not open for public registration. Site administrator is Alexander Bochmann.

Contact email: ab+mastodon@infra.de