ijpatricio / docker-for-forge
Docker utilities to use Docker within Forge deployed servers.
Installs: 211
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/ijpatricio/docker-for-forge
Requires (Dev)
- orchestra/testbench: ^7.6
This package is auto-updated.
Last update: 2025-09-27 00:21:50 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"