美文网首页
2018-12-04 Phabricator

2018-12-04 Phabricator

作者: lotosbin | 来源:发表于2018-12-05 09:57 被阅读3次
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

      本文链接:https://www.haomeiwen.com/subject/acsmcqtx.html