- Pull codebase
- (Optional) Run
docker kill $(docker container ls -q)
to stop current containers. - Run
docker-compose up -d
to start the project - Update
.env
file (see.env.example
). - Navigate to project directory and install composer
docker-compose exec pass_app composer install
- Restart supervisor:
docker-compose exec pass_app service supervisor restart
- API (Swoole) -
http://127.0.0.1:8020
- API (PHP-FPM) -
http://127.0.0.1:8820
- Mongo Express Server -
http://127.0.0.1:8021
(Basic Auth: username:vivasoft
, password:vivasoft
) - Mail Catcher -
http://127.0.0.1:60220
- Update
.env
file :FILESYSTEM_DRIVER=public
- Run following command:
docker-compose exec pass_app ln -s /var/www/storage/app/public /var/www/public/storage
- To access application container:
docker-compose exec pass_app bash
API docs are available here: https://documenter.getpostman.com/view/6998749/TzRPkVgN