Welcome to my channel. My name is Emad Zaamout. My core mission is to provide you with best quality free learning materials related to the Tech Industry.
Awesome video with great explanations! Thanks so much! I just noticed a few minor mistakes that some people might find relevant: - at 12:42 it says "RUA" for both reports, but it should be "RUA" for the aggregate report and "RUF" for the forensic report - at 18:43 about aspf the slide on screen says "relaxed" is the default (which I also found on other sources) but in your voice-over you say that the default is strict
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.
Great work here using AWS and Bitbucket. You should follow a standard naming convention; everything else looks fine to me. Maybe I could give it a try with a Drupal project instead of Laravel.
Thanks for the tutorial, was very informative but I could not get it to work... I kept getting "php-1 | exec docker/entrypoint.sh: no such file or directory"
i'm going to ask a really stupid question . do we need to have web server, php and composer already installed before all this I've recently switched from windows where i have everything set up for projects to linux ubuntu i've nothing installed configuring all those old projects are headach i've access to many projects everytime i switched to new system cus i couldn't configure them all due to different version requirements All the people under this video looks experienced i'm the only fool here i've copied the old laravel project and installed docker ( have not any any docker compose file till now) i'm new to docker i dont know how to containerize different project tho i'm getting a bit of understanding but still had that stupid question so Do i need to have apach, php, composer pre installed before creating container/image in docker-compose?
answer is YES. Laravel requires composer and PHP. And as far as the web server, you can set one up but in this example it's using PHP's (or artisan's) SERVE command. Using the SERVE command is not as ideal as having a webserver running. You can easily add a webserver to the docker-compose file, there are many examples online on how to do this.
make a video I'm confused making just laravel project build I'm using a docker file which run successfully but when i run my image it's not working FROM php:7.4-apache # Install dependencies RUN apt-get update && \ apt-get install -y \ libzip-dev \ zip \ unzip \ git \ && docker-php-ext-install pdo_mysql zip # Enable mod_rewrite RUN a2enmod rewrite # Set the Apache document root to the public directory ENV APACHE_DOCUMENT_ROOT=/var/www/html/public RUN sed -ri -e 's!/var/www/html!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/sites-available/*.conf RUN sed -ri -e 's!/var/www/!${APACHE_DOCUMENT_ROOT}!g' /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf # Copy the application code COPY . /var/www/html # Set the working directory WORKDIR /var/www/html # Install Composer RUN curl -sS getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer ENV COMPOSER_ALLOW_SUPERUSER=1 # Install project dependencies RUN COMPOSER_MEMORY_LIMIT=-1 composer install --ignore-platform-reqs --no-interaction --no-plugins --no-scripts # Set permissions RUN chown -R www-data:www-data /var/www/html/storage /var/www/html/bootstrap/cache # Expose the port EXPOSE 80 # Start Apache in the foreground CMD ["apache2-foreground"]