This is a set of docker and docker-compose configuration for running phabricator.
# clone this repository git clone https://github.com/philpep/docker-phabricator cd docker-phabricator # clone phabricator repositories in ./src git clone -b stable https://github.com/phacility/phabricator src/phabricator git clone -b stable https://github.com/phacility/arcanist src/arcanist git clone -b stable https://github.com/phacility/libphutil src/libphutil # edit the .env file and change UID / GID to your own user and group id # (this is required to have docker processes running with your uid/gid) edit .env # edit etc/local.json and set phabricator.base-uri security.alternate-file-domain as appropriate edit etc/local.json # then build docker images docker-compose build # then start php and mysql containers docker-compose up -d php mysql # then initialize the database ./bin/storage upgrade # then start nginx and phd (phabricator daemons) docker-compose up -d # your phabricator instance is now running on port 8080 and you can point # your ssl/reverse proxy on it.
# This will pull repositories, stop, upgrade database and start phabricator ./bin/upgrade
You should configure notifications.servers:
[ { "type": "client", "host": "phab.example.com" "port": 8080, "protocol": "https", "path": "/ws/" }, { "type": "admin", "host": "aphlict", "port": 22281, "protocol": "http" } ]