diff --git a/Dockerfile b/Dockerfile index e0c1ea9..9ae4624 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,7 +43,7 @@ ARG PHP_VERSION ARG PACK_LIST="bash bash-completion iproute2 ssmtp openssl wget curl jq ca-certificates \ tzdata mailcap git ncurses util-linux pciutils usbutils coreutils binutils findutils grep \ - iproute2 sudo rsync zip certbot tini tor torsocks" + iproute2 sudo rsync zip certbot tini tor torsocks php" ENV ENV=~/.bashrc ENV SHELL="/bin/sh" diff --git a/rootfs/usr/local/bin/start-tor.sh b/rootfs/usr/local/bin/start-tor.sh index 5dc0442..c1d7492 100755 --- a/rootfs/usr/local/bin/start-tor.sh +++ b/rootfs/usr/local/bin/start-tor.sh @@ -79,7 +79,7 @@ __start_message() { # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - __exec_pre_start() { __start_message - + __exec_command php -S 0.0.0.0:80 -t "/data/htdocs/www" & } # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - __run_backup() { diff --git a/rootfs/usr/local/share/template-files/data/htdocs/www/index.html b/rootfs/usr/local/share/template-files/data/htdocs/www/index.html new file mode 100644 index 0000000..5b38b60 --- /dev/null +++ b/rootfs/usr/local/share/template-files/data/htdocs/www/index.html @@ -0,0 +1,12 @@ + + +
+ + + +