i’m struggling a lot with a Laravel application that i want to deploy to azure AKS using azure DevOps the thing is i’m reading a lots of non-accurate tutorials and docs, i didnt found anything related on how to push or deploy a Laravel docker image to azure aks using azure DevOps and it’s frustrating, ..
I have built a docker image for Laravel (i’m using docker for windows) using docker-compose build app command and i’ve pushed it to docker hub successfully the problem is : when i do docker compose -d up i’m getting 3 containers running as expected (nginix + mysql + the app) When i test the image ..
I am trying to setup Laravel Scheduler on my Docker image. At the end of my .Dockerfile I have added the following; COPY ./mod-docker/crontab /etc/crontabs/root CMD ["crond", "-f", "-d", "8"] And within my crontab file I have this; * * * * * cd /var/www/html && php artisan schedule:run >> /dev/null 2>&1 But now on ..
I created a SaaS app using laravel 8 with first party package laravel sail (doker) and tenancy for laravel package for the SaaS. I need to install wildcard lets encrypt ssl on the main app and all tenant apps will be on https. I tried to install certbot image like this certbot: image: certbot/certbot:latest the ..
I am not sure if I can use laravel sail in production. First question is, can I use laravel sail in production? And if I can, how can I use laravel sail in production? I am trying to deploy a website using laravel sail. But when I try to execute sail up command, it says ..
I have a laravel 8 project created with composer. Then I added laravel sail by composer require laravel/sail and then executed command php artisan sail:install. After sail up command, only mysql container was created and everything works well. But now I want to add redis to my docker container. How can I do this? I ..
I am quite new to Linux and Docker. It is good that Sail manages everything for me! But I would like to allow the debugging in VSCode. I have added in my windows laravel folder /docker/8.0/php.ini [XDebug] xdebug.remote_enable = 1 xdebug.remote_autostart = 1 xdebug.remote_host = host.docker.internal xdebug.remote_port = 9001 I have added this in my ..
I ran a website with Laravel and Nginx, all of which are defined separately inside the Docker containers. at first, when I use docker-compose up -d to build and run my container it works the best and my laravel app can handle logins. but after a while, even I don’t make any changes in my ..
if request is coming from abc.com/something i want to redirect request to nuxt.js docker container if request is coming from abc.com/api (if first section is api) then always go inside Laravel Docker Container if request coming from www.abc.com then change path to abc.com then redirect to nuxt.js docker again.. Source: Docker..
I have two powershell terminals open. The first terminal is running a docker container at the project root, with the cmd: docker-compose run php /bin/sh The second terminal is tracking the containers’ log files. docker-compose logs -f -t From within the container (first terminal), I run a test script with only one line in it: ..