bind to 0.0.0.0 not localhost

This commit is contained in:
Jeffrey Paul 2019-12-09 12:47:10 -08:00
parent 68abf2f791
commit 91ba79694c
2 changed files with 4 additions and 1 deletions

View File

@ -31,7 +31,11 @@ RUN bash /tmp/prereqs.sh
ADD install.sh /tmp/install.sh ADD install.sh /tmp/install.sh
WORKDIR /mastodon WORKDIR /mastodon
ENV HOME /mastodon ENV HOME /mastodon
ENV BIND 0.0.0.0
RUN chpst -u mastodon:mastodon bash /tmp/install.sh RUN chpst -u mastodon:mastodon bash /tmp/install.sh
ADD ./rootfs / ADD ./rootfs /

View File

@ -50,6 +50,5 @@ exec \
envdir /state/envdir \ envdir /state/envdir \
chpst -u mastodon:mastodon \ chpst -u mastodon:mastodon \
bash -i -c " bash -i -c "
BIND=0.0.0.0
bundle exec puma -C config/puma.rb bundle exec puma -C config/puma.rb
" "