Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

philpep/docker-phabricator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

phabricator on docker

This is a set of docker and docker-compose configuration for running phabricator.

Quick start

# 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.

Upgrades

# This will pull repositories, stop, upgrade database and start phabricator
./bin/upgrade

aphlict (aka notification server)

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"
  }
]

About

docker-compose configuration for running phabricator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published