Laradock
ama
Our great sponsors
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Laradock
-
Laravel Docker in Windows
Haven’t touched Laravel for years pero baka laradock might be good for your use case
- What do Mac users here use for local development / testing? AMP software discussion
-
Why is my directory list showing up on the web browser (localhost)?
This is a function of the apache configuration files. You should examine those and determine what the issue is, using the xampp gui which will let you edit the httpd.conf file, or whatever it is that xampp uses. xampp provides the default settings you need, so I highly doubt this is the issue, but there is a directive called DirectoryIndex that tells apache what files to search for when a url points to a directory. By default that is going to include index.php. So if that is not working, then there is possibly something else going on with the apache config. To figure this all out you really have to understand how the various possible configuration options work. I don't use xampp so I can't tell you with certainty what the defaults are, but directives like Directory, VirtualHost, DocumentRoot etc, can all be used and combined in different ways to create different outcomes. For example, whether or not an index even appears (in the absence of an index.php) is configurable, as is whether or not you can override settings in a .htaccess file. I'm guessing you might be running xampp under windows, and this is yet another reason why in the era of containers, it's just better to use virtualization or containerization rather than something like xampp. As it sounds like you are still in learning mode, it's not too late to turn your attention to something like docker with https://laradock.io/
-
Demet – Useful LAMP and LEMP Stack for Docker with PHP 8.2
It's vastly inferior to laradock and does less.
-
Yet another lemp tool
With https://laradock.io/ it should be no more than a couple of minutes. Yes, this is a development environment and not meant for production. But so is yours, just with a worse approach.
- How do I dockerise this Laravel Application?
-
Discussion on what dev environment people use and prefer
The prime example of what I'm referring to is: https://github.com/laradock/laradock
-
Using Docker to Containerize Laravel Apps for Development and Production
First, we will use Laravel Sail to run the application locally on our dev environment. There are unofficial Docker environments for Laravel like Laradock but Sail is the official docker dev environment for Laravel. Sail is is a wrapper on top of docker compose.
- Weekly "ask anything" thread
-
Laradock - ready to use PHP docker environment
git clone https://github.com/Laradock/laradock.git
ama
-
The Hater's Guide to Kubernetes
If you want to stick on one machine, you can always just use a single node Docker Swarm to get the fully automated zero downtime deploys you want with Docker Compose:
-
Navigating Docker With Captains - Bret Fisher
Follow Bret here
-
Container Training
Check out Bret Fishers courses and content - https://www.bretfisher.com/
-
awesome-swarm
This Awesome List is maintained by Bret Fisher (and coming soon, maintainers #3). This is a curated list of working tools and resources for using Swarm. It is not an official list, but a community effort to help people find the best tools and resources for Swarm in 2023 and beyond.
-
who do you follow?
https://www.bretfisher.com/ - awesome guy, awesome discord (https://devops.fan). Awesome Talks
- Ask HN: What is the best source to learn Docker in 2023?
- The Docker, Kubernetes, Terraform, and AWS crash course series
-
Fully Docker support Example Bot
Composer is not meant to run in production. It is only meant for development or building images. Make sure to read Getting started with swarm mode and check this if you want to use run your build image on a proper environment. (recommended)
-
Dockerfile best practice
I don't know if I would call myself an expert, but worrying about security is a big concern of mine and my job. While there are some security benefits to running your app in a container, you're correct in thinking there are some things to keep in mind while writing your Dockerfiles and using Docker. Check out Bret Fisher's write up on security concerns using Docker. This is the second time that I've mentioned him. He's a Docker Captain and recognized by Docker as an expert. His advice is sound.
-
docker-compose or docker swarm for 1 host
Only one host for production environment. What to use: docker-compose or single node swarm? · Issue #8 · BretFisher/ama (github.com)
What are some alternatives?
sail - Docker files for running a basic Laravel application.
php-docker-good-defaults - *WORK IN PROGRESS* sample PHP/Laravel app for Docker examples
laragon - Laragon is a portable, isolated, fast & powerful universal development environment for PHP, Node.js, Python, Java, Go, Ruby. It is fast, lightweight, easy-to-use and easy-to-extend.
cluster-api - Home for Cluster API, a subproject of sig-cluster-lifecycle
lando - A development tool for all your projects that is fast, easy, powerful and liberating
awesome-swarm - All the awesome tools, docs, and training on Docker and Mirantis Swarm Mode (SwarmKit)
nginx-proxy - Automated nginx proxy for Docker containers using docker-gen
container.training - Slides and code samples for training, tutorials, and workshops about Docker, containers, and Kubernetes.
Laravel Homestead
ama - [[I'm slow at replying these days, but I hope to get back to answering questions eventually]] Ask me anything!
devilbox - A modern Docker LAMP stack and MEAN stack for local development
Docker-DiscordJs - This is an example application that provides a multi-stage Docker Discord Bot that runs in shards.