Closed milekz closed 6 years ago
my bad i didn't set PHABRICATOR_HOST_KEYS_PATH proper way
Would be nice to share what the proper way is.
Documentation says
--env PHABRICATOR_HOST_KEYS_PATH=/hostkeys/persisted \
-v /path/on/host:/hostkeys \
but it does not say whether appropriate host keys should already exist in /path/on/host, or if they will be created there.
The host keys should be automatically generated on first run, but the path to store them in must already exist.
I can confirm that the host keys are created on first run and stored there.
Also the subdirectory "persisted
" is created on first run. It does not need to exist before the first start.
I have used a docker volume for this purpose:
--env PHABRICATOR_HOST_KEYS_PATH=/hostkeys/persisted \
-v phab01-keys:/hostkeys \
which creates a new docker volume for the keys for this phabricator instance, named phab01-keys.
It is expected that port sshd at port 22 wll be up and running for ssh/git repo