ijpatricio/docker-for-forge

There is no license information available for the latest version (dev-main) of this package.

Docker utilities to use Docker within Forge deployed servers.

dev-main 2022-08-12 15:10 UTC

This package is auto-updated.

Last update: 2024-10-26 22:26:55 UTC


README

Prepare your repo locally

composer require ijpatricio/docker-for-forge --dev
php artisan dockerEnv:install

Configure Forge Add site

Deploy script

cd /home/forge/FOLDER
git pull origin $FORGE_SITE_BRANCH

#Make sure `docker-compose.yml` is Git ignored in your project
cp docker-compose.prod.yml docker-compose.yml

docker-compose build

docker-compose up -d --remove-orphans

./Taskfile forgeCmd "php artisan migrate --force"