Last active
January 29, 2020 16:16
-
-
Save thiago-rezende/1cd2c3c05e0a054073be2e9b2445ee59 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # # # # # # # # # # # # # # # # # # # # # # # # # | |
| # !!!*FOLDER STRUCTURE*!!! # | |
| # ./ # | |
| # ├── docker-compose.yml # | |
| # ├── phabricator-config/ # | |
| # ├── phabricator-repo/ # | |
| # └── db-data/ # | |
| # !!!*COMMANDS*!!! # | |
| # $ docker-compose up -d # | |
| # $ docker-compose exec phabricator /bin/bash # | |
| # $ cd phabricator # | |
| # $ ./bin/config set mysql.host database # | |
| # $ ./bin/config set mysql.port 3306 # | |
| # $ ./bin/config set mysql.user root # | |
| # $ ./bin/config set mysql.pass secret # | |
| # $ ./bin/storage upgrade # | |
| # $ exit # | |
| # # # # # # # # # # # # # # # # # # # # # # # # # | |
| version: '3' | |
| services: | |
| phabricator: | |
| container_name: phabricator | |
| image: phabricator/phabricator | |
| networks: | |
| - phab-net | |
| volumes: | |
| - config:/var/www/phabricator/conf/local | |
| - repo:/var/repo | |
| ports: | |
| - 8888:80 | |
| daemon: | |
| container_name: daemon | |
| image: phabricator/daemon | |
| networks: | |
| - phab-net | |
| volumes: | |
| - config:/var/www/phabricator/conf/local | |
| - repo:/var/repo | |
| database: | |
| container_name: database | |
| image: mariadb:10.2 | |
| networks: | |
| - phab-net | |
| volumes: | |
| - db-data:/var/lib/mysql | |
| ports: | |
| - 3306:3306 | |
| environment: | |
| MYSQL_ROOT_PASSWORD: secret | |
| volumes: | |
| config: | |
| driver: local | |
| driver_opts: | |
| type: none | |
| o: bind | |
| device: "${PWD}/phabricator-config" | |
| repo: | |
| driver: local | |
| driver_opts: | |
| type: none | |
| o: bind | |
| device: "${PWD}/phabricator-repo" | |
| db-data: | |
| driver: local | |
| driver_opts: | |
| type: none | |
| o: bind | |
| device: "${PWD}/db-data" | |
| networks: | |
| phab-net: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment