From eaa2c093f649eadb2b3af5ad14dc0042028f5049 Mon Sep 17 00:00:00 2001 From: icscarythings Date: Sun, 22 May 2022 09:27:34 -0400 Subject: [PATCH] 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 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 169da83..eac6d7c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \ No newline at end of file