Skip to content
This repository has been archived by the owner on Sep 10, 2019. It is now read-only.
/ deploy Public archive

Ansible and Ansistrano configuration to deploy the Laravel apps on a web server

Notifications You must be signed in to change notification settings

fight-food-waste/deploy

Repository files navigation

Fight Food Waste deployement

Setup Ansible

Download roles:

ansible-galaxy install -r requirements.yml

Web server setup

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.

Laravel apps setup

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

About

Ansible and Ansistrano configuration to deploy the Laravel apps on a web server

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published