This is amazing, this is the best explanation of docker setup and laravel thank you
@tenacity_dev22 күн бұрын
Thank you!!!
@creedio713022 күн бұрын
Solid explanation, Is this suitable for production?
@tenacity_dev20 күн бұрын
Yes it is. It has everything you need for a production app. You should only modify the Caddyfile to suit your needs and of course have SSL on your site since you don't want to use port 80 in production.
@zsoro211 күн бұрын
What about storage folder on production? How would you handle that? Create a volume for storage ? Or what is the best way in your opinion? My problem is i dont want to loose the files, even if i rebuild the image
@tenacity_dev11 күн бұрын
If you need storage then you should map a docker volume in your caddy service to /storage in your application and then any uploaded files will be saved.
@FarshadGhanbari-er1gn19 күн бұрын
Please add reverb, I have a lot of problems with it
@tenacity_dev19 күн бұрын
I'll keep that in mind for the future videos
@akejemmy601015 күн бұрын
When switching from 'production' to 'development' mode, do I have to change the 'DB_HOST' from db to localhost?
@tenacity_dev15 күн бұрын
When you are running it locally with php artisan serve you should use localhost. When running it in production the container will want to connect the database and since they are running on the internal docker network you will use db.