GithubHelp home page GithubHelp logo

phabricatory's Introduction

phabricatory

A (preliminary) Phabricator docker image builder with Wikimedia Sprint. Moreover all the prototyped application, like Calendar and many others, are also activated.

I've used RedpointGames/phabricator as initial image. Cloning this project and rebuilding from scratch the inizial image does not work, for a error in the hachque/systemd-none inizial image of redpointgames/phabricator.

Usage

You can use the Dockerfile to build the image just like

docker build -t phabricatory .

Running

Please, for configuration detalis refer to the above links. You're strongly encouraged to use a docker-compose file like that below.

Startup

  1. Set your PHABRICATOR_HOST in the docker-compose file. Phabricator needs this.
  2. Set yout basepath for implementing data persistence
  3. run first docker-compose create mysql, then docker-compose start mysql and wait for mysql container makes his steps
  4. stop the mysql container
  5. run docker-compose up After the startup, point your browser to http://PHABRICATOR_HOST

docker-compose.yaml

## docker-compose.yaml
version: '3.2'

services:
  mysql:
    image: mysql
    container_name: mysql
    ports:
      - 33060:3306
    environment:
      MYSQL_ROOT_PASSWORD: password
      MYSQL_USER: phabricator
      MYSQL_PASSWORD: phabricator
      MYSQL_DATABASE: phabricator
    volumes:
      - type: bind
        source: <your_basepath>/data
        target: /var/lib/mysql

  phabricator:
    image: paskaly/phabricator
    container_name: pha
    links:
      - mysql
    depends_on:
      - mysql
    ports:
      - 80:80
      - 443:443
      - 22:22

    environment:
      MYSQL_HOST: mysql
      MYSQL_USER: root
      MYSQL_PASS: password
      PHABRICATOR_HOST: yourdomain.com
      PHABRICATOR_REPOSITORY_PATH: /repos
      PHABRICATOR_STORAGE_TYPE: disk
      PHABRICATOR_STORAGE_PATH: /files

    volumes:
      - type: bind
        source: <your_basepath>/repository
        target: /repos
      - type: bind
        source: <your_basepath>/files
        target: /files
      - type: bind
        source: <your_basepath>/extensions
        target: /srv/phabricator/phabricator/src/extensions

phabricatory's People

Contributors

pasqualebasile avatar paskaly 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.