Skip to content

Update README.md #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,24 @@ Unofficial Base Docker Image for Phabricator

Updated by [phabricator/bot](https://hub.docker.com/r/phabricator/bot/) every
hour, on the hour.

## arm devices
Phabricator itself can run on any LAMP server stack. Technically MySQL and MariaDB (which is used in this setup) are available for _arm64_ and _armhf_ but Docker Hub is missing such images.
The workaround that can be used is to use the _linuxserver/mariadb_ image which is an unofficial image built from the official source of MariaDB and compatibile with `arm64 arm64v8-latest` and `armhf arm32v7-latest`.

In `docker-compose.yml` simply change the source image to `linuxserver/mariadb` and the persistance volume to `/config` to respect the new image folder tree:

```
database:
image: linuxserver/mariadb
volumes:
- db-data:/config
```

### Configuring the new database
* Once the deploy is completed run `docker ps -a` to check the ip of the container which holds the database and note it down.
* Get into the phabricator container with ` docker exec -it <container_id> bash`
* `cd phabricator`
* `./bin/config set mysql.host "ip_of_the_database_container"`
* `./bin/config set mysql.port "3306"`
* `./bin/config set mysql.pass "password_chosen_in_docker-compose.yml"`