Modello base con tutto il docker configurato per php7.4, mariadb, vue3, apache...con esempi di component e chiamate rest interne

Overview

Applicazione base per utilizzare laravel con docker, php7.4, apache, mariadb10, vue3

Semplice installazione corredate di rotte web e api di base, 3 componenti vue

Istruzioni

  • scaricare laravel

  • copiare questa cartella e il file docker-compose.yml

  • configurare il docker-compose.yml secondo necessità

  • lanciare docker-compose up per installare tutto

  • lanciare docker-compose down per bloccare l'esecuzione del container

  • configurare mysql workbench con:

  • 127.0.0.1 porta esposta dal container 33061

  • user & password come indicati nel file .env

  • per eseguire qualsiasi comando sul container dalla macchina locale: docker exec [id_del_container] [comando] ESEMPIO: docker exec 12b12a6779981f8a104e0c082a20f8591d259a98d50f52e62a9256c1e694c438 php artisan migrate

  • anche per installare package o altro è consigliabile farlo sul container (per questioni di versioni php, etc...) in questo modo sarà il container che allinea la macchina locale.

  • infine, sulla macchina locale lanciare i comandi: (per installare npm e vue)

  • npm install

  • npm install vue

  • andare sul browser: http://localhost:8080

ECCEZIONI:

Se si dovesse ricevere l'errore: Warning: require(/var/www/html/public/../vendor/autoload.php): failed to open stream: No such file or directory in /var/www/html/public/index.php on line 34 Entrare nel terminale del container e lanciare il comando composer install, poichè vuol dire che per qualche motivo lo script nel Dockerfile non è stato eseguito

You might also like...
A complete stack for running Symfony 5 into Docker containers using docker-compose tool and with Certbot for the HTTPS certificate.
A complete stack for running Symfony 5 into Docker containers using docker-compose tool and with Certbot for the HTTPS certificate.

🐳 Docker + PHP 7.4 + MySQL8.0 + Nginx + Certbot(HTTPS) + Symfony 5 Boilerplate 🐳 Edited from https://github.com/ger86/symfony-docker version - http

Docker-magento2 - 🐳 Docker containers with all required Magento 2 dependencies installed available as FPM through Nginx and CLI

Magento 2 Docker A collection of Docker images for running Magento 2 through nginx and on the command line. Quick Start cp composer.env.sample compose

Docker-magento - Docker image for Magento 1.6 to 1.9

Docker image for Magento 1.x This repo creates a Docker image for Magento 1.x. Please note The primary goal of this repo is to create Docker images fo

🐋 This project aims to broaden knowledge of system administration by using Docker: virtualizing several Docker images, creating them in a new personal virtual machine.

🐋 This project aims to broaden knowledge of system administration by using Docker: virtualizing several Docker images, creating them in a new personal virtual machine.

An alternative Redis session handler for PHP featuring per-session locking and session fixation protection

RedisSessionHandler An alternative Redis session handler featuring session locking and session fixation protection. News phpredis v4.1.0 (released on

Recoded, added features, removed useless stuff, more efficent code, PER PLAYER TEXT
Recoded, added features, removed useless stuff, more efficent code, PER PLAYER TEXT

WFT - 1.2.0 (BETA) Hello, and welcome to WFT. NOW IN API 4.0 This is the official recode of my old plugin WFT, witch had some issues. Overall I was no

ReintegrApp è una Web Application gestionale sviluppata senza fini di lucro da Riccardo Riggi per organizzazioni di volontariato che operano nel campo dell'emergenza/urgenza
ReintegrApp è una Web Application gestionale sviluppata senza fini di lucro da Riccardo Riggi per organizzazioni di volontariato che operano nel campo dell'emergenza/urgenza

ReintegrApp ReintegrApp è una Web Application gestionale sviluppata senza fini di lucro da Riccardo Riggi per organizzazioni di volontariato che opera

Laragon MultiPHP per App + PECL Module + Extension manager + Ini Manager
Laragon MultiPHP per App + PECL Module + Extension manager + Ini Manager

LMPA Laragon MultiPHP per App This tools allow you to run multiple PHP version per app with Laragon, so you can have multiple site running different p

A Magento 2 module that allows for creating discrete PDP (Product Detail Pages) page layouts for customers landing on the site from a PPC (Pay Per Click) link/ad by allowing routing to the same pages using a `/ppc/` prefix in the URL path.
A Magento 2 module that allows for creating discrete PDP (Product Detail Pages) page layouts for customers landing on the site from a PPC (Pay Per Click) link/ad by allowing routing to the same pages using a `/ppc/` prefix in the URL path.

A Magento 2 module that allows for creating discrete PDP (Product Detail Pages) page layouts for customers landing on the site from a PPC (Pay Per Click) link/ad by allowing routing to the same pages using a `/ppc/` prefix in the URL path.

Owner
null
Implementazione generica di Sender per l'invio di Fatture Elettroniche ad intermediari per lo SDI

Implementazione generica di Sender per l'invio di Fatture Elettroniche ad intermediari per lo SDI Implementazione generica di Sender per l'invio di Fa

Fattura Elettronica - PHP 4 Nov 8, 2022
Docker with Apache, MySql, PhpMyAdmin and Php

docker-lamp Docker example with Apache, MySql 8.0, PhpMyAdmin and Php You can use MariaDB 10.1 if you checkout to the tag mariadb-10.1 - contribution

Joel Cavat 360 Dec 3, 2022
A forum software written in vanilla PHP with a MariaDB/MySQL database.

GloomyBB GloomyBB is a simple forum software written in vanilla PHP with a MariaDB/MySQL database. It is currently still in early development but is u

John Vinh 3 Nov 2, 2022
PHP 祖传代码跑路拯救者,支持 PHP5 & PHP7

PHP 祖传代码跑路拯救者,支持 PHP5 & PHP7 以下是我的线上实测版本 5.3.29 CLI 5.3.29 PHP-FPM 5.4.32 CLI 5.4.32 PHP-FPM 5.6.40 CLI 5.6.40 PHP-FPM 7.2.5 CLI 7.2.5 PHP-FPM 安装 如果安装

周梦康 77 Aug 30, 2022
EMR and PM Software written in PHP7

ReadMe IMWEMR is EMR/PM software, along with integrated iascemr (surgerycenter) and optical, repo is ready and preconfigured for subdomain http://demo

null 1 Dec 4, 2021
Magento2 + Varnish + PHP7 + Redis + SSL (cluster ready)

Docker Magento2: Varnish + PHP7 + Redis + SSL cluster ready docker-compose infrastructure Infrastructure overview Container 1: MariaDB Container 2: Re

Fabrizio Balliano 332 Dec 30, 2022
xhprof for PHP7

xhprof for PHP7 XHProf is a function-level hierarchical profiler for PHP and has a simple HTML based navigational interface. The raw data collection c

XinHui Long 908 Dec 27, 2022
A QR Code generator for PHP7.4+

chillerlan/php-qrcode A PHP 7.4+ QR Code library based on the implementation by Kazuhiko Arase, namespaced, cleaned up, improved and other stuff. Docu

chillerlan 1.2k Dec 30, 2022
PHP implementation for reading and writing Apache Parquet files/streams

php-parquet This is the first parquet file format reader/writer implementation in PHP, based on the Thrift sources provided by the Apache Foundation.

null 17 Oct 25, 2022
Apache OpenWhisk is an open source serverless cloud platform

OpenWhisk OpenWhisk is a serverless functions platform for building cloud applications. OpenWhisk offers a rich programming model for creating serverl

The Apache Software Foundation 5.9k Jan 8, 2023