Code Monkey home page Code Monkey logo

docker-phabricator's Introduction

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

docker-phabricator's People

Contributors

arthurzenika avatar philpep avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.