2018-12-04 Phabricator

mkdir phabricator
cd phabricator
touch docker-compose.yml
vi docker-compose.yml

docker-compose.yml

version: '2'
services:
  mysql:
    image: mysql:5.5
    volumes:
      - ./data/mysql:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=123456
  phabricator:
    image: hachque/phabricator
    volumes:
      - ./data/repo:/repos
    ports:
      - "80:80"
      - "465:465"
      - "2222:2222"
    environment:
      - PHABRICATOR_HOST=x.x.x.x
      - MYSQL_HOST=mysql
      - MYSQL_USER=root
      - MYSQL_PASS=123456
      - PHABRICATOR_REPOSITORY_PATH=/repos
    links:
      - mysql:mysql
sudo docker-compose up 
open http://x.x.x.x:80

你可能感兴趣的:(2018-12-04 Phabricator)