niznet
niznet
DDokploy
Created by sameowrai on 4/21/2025 in #old-help
php-fpm to dokply
put it in the AppServiceProvider at the boot() method
13 replies
DDokploy
Created by sameowrai on 4/21/2025 in #old-help
php-fpm to dokply
make sure app_url have https protocol, or you can also force laravel to use https like,
if($this->app->environment('production')) {
\URL::forceScheme('https');
}
if($this->app->environment('production')) {
\URL::forceScheme('https');
}
13 replies
DDokploy
Created by sameowrai on 4/21/2025 in #old-help
php-fpm to dokply
13 replies
DDokploy
Created by sameowrai on 4/21/2025 in #old-help
php-fpm to dokply
it's better to do with nixpacks or railpacks for backend language that requires a internal webserver to connect with the backend language, for docker, so far, I only use dockerfile for js based deployment, rest are with nixpacks or railpack (when it work)
13 replies
DDokploy
Created by sameowrai on 4/21/2025 in #old-help
php-fpm to dokply
though, app_url is kinda tricky one for deployment preview since traefik subdomain created dynamically, unless you make a fixed subdomain from your own domain.
13 replies
DDokploy
Created by sameowrai on 4/21/2025 in #old-help
php-fpm to dokply
if you wish to have preview deployments, then create a production branch, I believe, every PR should automatically trigger dokploy to create a deployment preview.
13 replies
DDokploy
Created by sameowrai on 4/21/2025 in #old-help
php-fpm to dokply
and use system cronjob to trigger scheduler.
13 replies
DDokploy
Created by sameowrai on 4/21/2025 in #old-help
php-fpm to dokply
then create another same project for queue worker
13 replies
DDokploy
Created by sameowrai on 4/21/2025 in #old-help
php-fpm to dokply
I just use Nixpacks and deal with it instead of trying to build the project with dockerfile.
13 replies