Download roles:
ansible-galaxy install -r requirements.yml
Only manual action required: installing Caddy on the server:
# curl https://getcaddy.com | bash -s personal
Setup OS config and middlewares:
ansible-playbook pb-middleware.yml
It will setup MariaDB, PHP, Node, Caddy and more.
Create valid .env.collects
and .env.services
locally.
Deploy laravel apps:
ansible-playbook pb-laravel-app.yml -e app_name=collects
ansible-playbook pb-laravel-app.yml -e app_name=services