Docker specific configuration information
If the configuration (see below)
config :pleroma, Pleroma.Web.Endpoint,
http: [ip: {0,0,0,0}, port: 4000]
is not specified in the secret.exs
configuration file, pleroma will serve on 127.0.0.1:4000
by default and refuse all connections from other docker containers, even if the port is explicitly exposed in both the Dockerfile
and docker-compose.yml
. This would break most docker deployments when pleroma is in one container and (say) nginx is in another.