File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -112,6 +112,7 @@ ENV NODE_ENV="production"
112112
113113# Tell rails to serve static files
114114ENV RAILS_SERVE_STATIC_FILES="true"
115+ ENV BIND="0.0.0.0"
115116
116117# Set the run user
117118USER mastodon
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ services:
3838 image : tootsuite/mastodon
3939 restart : always
4040 env_file : .env.production
41- command : bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000 -b '0.0.0.0' "
41+ command : bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"
4242 networks :
4343 - external_network
4444 - internal_network
@@ -58,7 +58,7 @@ services:
5858 image : tootsuite/mastodon
5959 restart : always
6060 env_file : .env.production
61- command : yarn start
61+ command : node ./streaming
6262 networks :
6363 - external_network
6464 - internal_network
You can’t perform that action at this time.
0 commit comments