mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 04:46:18 +00:00
switch user
This commit is contained in:
6 files changed
+9
-9
No files matched your search
+4
-4
@@ -32,14 +32,14 @@ function sync:bunny {
|
||||
}
|
||||
|
||||
function db:reset {
|
||||
bash spin exec -u webuser coolify php artisan migrate:fresh --seed
|
||||
bash spin exec -u www-data coolify php artisan migrate:fresh --seed
|
||||
}
|
||||
function db:reset-prod {
|
||||
bash spin exec -u webuser coolify php artisan migrate:fresh --force --seed --seeder=ProductionSeeder ||
|
||||
bash spin exec -u www-data coolify php artisan migrate:fresh --force --seed --seeder=ProductionSeeder ||
|
||||
php artisan migrate:fresh --force --seed --seeder=ProductionSeeder
|
||||
}
|
||||
function coolify {
|
||||
bash spin exec -u webuser coolify bash
|
||||
bash spin exec -u www-data coolify bash
|
||||
}
|
||||
|
||||
function coolify:root {
|
||||
@@ -58,7 +58,7 @@ function vite {
|
||||
}
|
||||
|
||||
function tinker {
|
||||
bash spin exec -u webuser coolify php artisan tinker
|
||||
bash spin exec -u www-data coolify php artisan tinker
|
||||
}
|
||||
|
||||
function default {
|
||||
|
||||
Reference in new issue
Block a user