Running Dockerized Laravel as Non Root User

preview_player
Показать описание
Laravel docker security using custom user instead of root. Easily fix all laravel permission errors.

Chapters
0:00 Introduction
0:35 Risks of using Root User
1:05 Setting up your local
5:40 UID & GID
7:47 Creating new user
8:35 File Permissions & Ownership
10:40 Configuring Server to use new User
14:20 Disabling root user
Рекомендации по теме
Комментарии
Автор

Emad you are amazing, nobody makes complete laravel + docker videos. Can you make a video with frankenphp?

marianovallejos
Автор

When i did ls -la /var/www show root root as owner. So i remove RUN chown and add the chown command on the entrypoint.sh . This fix my error, i don' t know if this is ok.

marianovallejos