This is a simple stack that runs XIVAPI v3 + Mogboard via Docker.
- Install docker-compose: https://docs.docker.com/compose/install/
Make a folder where all XIVAPI projects (including Mogboard) can sit:
mkdir xivapi
cd xivapi
Clone XIVAPI (or Mogboard) and Docker
git clone https://github.com/xivapi/xivapi.com-v3.git
git clone https://github.com/xivapi/xivapi.com-docker.git
Build and run the docker
cd xivapi.com-docker
docker-compose build
docker-compose up -d
Add to your hosts file: 127.0.0.1 xivapi.local
- IDE Key: PHPSTORM
- Update
docker-compose.yml
->extra_hosts: "docker-host.localhost:127.0.0.1"
to your ip fromifconfig en0
- Port:
5902
- Host:
docker-host.localhost
- Use Docker container for PHP Cli Interpreter.