allow FCGI to be connected to with -p port:port instead of using --network host set

change fcgi bind address to 0.0.0.0 so it can be accessed outside the container with -p port:port instead of using --network host
This commit is contained in:
icscarythings 2022-05-22 09:27:34 -04:00
parent 55cdf5dd97
commit eaa2c093f6

View file

@ -14,4 +14,4 @@ RUN make -C $TB_BUILD_DIR && make -C $TB_BUILD_DIR install
ENV TB_EXEC_BIN=/usr/local/bin/treebird
RUN chmod a+x $TB_EXEC_BIN
CMD fcgiwrap -c 10 -f -s tcp:127.0.0.1:4008
CMD fcgiwrap -c 10 -f -s tcp:0.0.0.0:4008