bind to 0.0.0.0 not localhost
This commit is contained in:
parent
68abf2f791
commit
91ba79694c
@ -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 /
|
||||||
|
@ -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
|
||||||
"
|
"
|
||||||
|
Loading…
Reference in New Issue
Block a user