diff --git a/.docker/.gitignore b/.docker/.gitignore deleted file mode 100644 index b6d592e..0000000 --- a/.docker/.gitignore +++ /dev/null @@ -1 +0,0 @@ -/logs diff --git a/.docker/logs/.gitignore b/.docker/logs/.gitignore new file mode 100644 index 0000000..d6b7ef3 --- /dev/null +++ b/.docker/logs/.gitignore @@ -0,0 +1,2 @@ +* +!.gitignore diff --git a/.docker/php/Dockerfile b/.docker/php/Dockerfile index fa38fb7..3641043 100644 --- a/.docker/php/Dockerfile +++ b/.docker/php/Dockerfile @@ -24,7 +24,7 @@ RUN curl -sL https://deb.nodesource.com/setup_19.x | bash - RUN apt-get install -y nodejs RUN npm install npm@latest -g RUN npm install yarn -g -#RUN npm install -g @vue/cli +RUN npm install -g @vue/cli WORKDIR /root RUN git clone https://github.com/seebi/dircolors-solarized @@ -38,6 +38,7 @@ RUN mv composer.phar /usr/local/bin/composer ENV COMPOSER_ALLOW_SUPERUSER 1 ENV COMPOSER_HOME /composer ENV PATH $PATH:/composer/vendor/bin +RUN composer config --global process-timeout 3600 EXPOSE 5173 WORKDIR /var/www diff --git a/README.md b/README.md index 28aef62..64bb04f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@
# Laravel Docker Starter Kit -- Laravel v10.7.1 -- PHP v8.2.5 +- Laravel v10.11.0 +- PHP v8.2.6 - MySQL v8.0 - MariaDB v10.11 @@ -21,13 +21,15 @@ - `docker-compose up -d` ### Basic docker compose commands -- Build all containers +- Build or rebuild services - `docker-compose build` -- Start all containers +- Create and start containers - `docker-compose up -d` -- Stop all containers +- Stop and remove containers, networks + - `docker-compose down` +- Stop all services - `docker-compose stop` -- Restart all containers +- Restart service containers - `docker-compose restart` ### Useful commands diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index b1c262c..56af264 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -8,25 +8,7 @@ use Throwable; class Handler extends ExceptionHandler { /** - * A list of exception types with their corresponding custom log levels. - * - * @var array