What's new
Panelica Community Forum

Welcome to the official Panelica Community Forum — the central hub for server administrators, developers, and hosting professionals. Register a free account today to access technical discussions, product announcements, feature requests, and direct support from the Panelica team. Be part of the growing community shaping the future of server management.

Solved deploy ortamına ortam değişkenleri için .env dosyası yükleyebilmek

tailadmin

New member
Beta Access
Laravelde deploy çalıştığında yapılandırma dosyasının olmadığını var sayıp defaul ayarlarla php artisan migrate yapıp sqlite d oluşttturup migrate yapıyor.

1786982929915.png
 
Fixed at the source. The deploy environment already had an "Environment Variables" (KEY/value) section, but those values were never written anywhere — so Laravel found no config and fell back to defaults (creating an SQLite database and migrating into it).

The deploy now materialises the environment's variables into a .env file in the target on every deploy (owned by your account, 0600), which is the same convention Forge/RunCloud/Vercel use. An existing .env is also preserved across deploys (rsync --delete no longer removes it) and backed up to .env.panelica-bak before being replaced. So you no longer need any manual copy step to get your .env in place. Ships in the next update.
 
Tam olarak anlamak için soruyorum, bir laravel projesi deploy ile yayınlamadan önce(pipeline çalıştırmadan önce), public_html içine .env dosyasına yüklendiğimde, deploy yaparken .env yi kullanılacak doğru mudur?
 
Back
Top