philpep / docker-phabricator

docker-compose configuration for running phabricator
19 stars 6 forks source link

php image slight issues #6

Open steenbras opened 4 years ago

steenbras commented 4 years ago

A couple of things with the php image that I had to fix:

Firstly the directory for the tail didn't exist, so I added a mkdir -p to the ./php/phd

d=/var/tmp/phd/log
f=daemons.log
/src/phabricator/bin/phd start
mkdir -p $d
touch $d/$f
exec tail -F $d/$f

Secondly, phab daemons weren't started correctly. Logs showed a problem with the ps process:

COMMAND
ps -o pid,command -a -x -w -w -w

STDOUT
(empty)

STDERR
ps: unrecognized option: x
BusyBox v1.28.4 (2018-12-31 18:05:13 UTC) multi-call binary.

Simple fix, just added the procps to the ./php/Dockerfile :

    git \
    ...
    procps