Imagem de Laravel com Docker para projetos futuros

Overview

author GPLv3 license contributions welcome

LaraDocker

Este projeto foi criado com a intensão de facilitar o desenvolvimento de novos projetos que podem a ser desenvolvidos por mim, ou por outra pessoa que esteja interessada nesta imagem, e queira utilizar a mesma.
Utilizei um pouco do meu conhecimento no GNU/Linux para montar isso, e contei com pesquisas e estudos, com o propósito de criar algo útil para mim e para se interessar pelo projeto, ele foi testado por mim, e tudo está perfeitamente funcional.



Utilização

  • Gere um arquivo .env com base no .env.example:
    cp .env.example .env
  • Altere as keys DB_DATABASE, DB_USERNAME e DB_PASSWORD
  • Configure o docker-compose.yml para adaptar melhor ao seu projeto
  • Crie a build para a imagem:
    docker-compose build app
  • Rode o ambiente do projeto em background:
    docker-compose up -d
  • Verifique se os processos estão ativos:
    docker-compose ps
  • Instale as dependências do projeto com o Composer:
    docker-compose exec app composer install
  • Gere a app key para o seu projeto:
    docker-compose exec app php artisan key:generate
  • Vá para o navegador e acesse este o endereço http://localhost:8000/, tudo deve estar funcionado normalmente

Em caso de dúvidas, entre em contato comigo
LinkdIn: https://www.linkedin.com/in/silassantosdasilva/
E-mail: [email protected]
You might also like...
Full PHP development environment for Docker.
Full PHP development environment for Docker.

Full PHP development environment based on Docker. Use Docker First - Learn About It Later! Join Us Awesome People Laradock is an MIT-licensed open sou

Selfoss Webfront Docker

Selfoss-WF on Docker This is a docker compose for Selfoss and my Selfoss-Webfront all packaged together ready to go. Features A robust RSS solution to

Raspberry Pi Self Hosted Server Based on Docker / Portainer.io
Raspberry Pi Self Hosted Server Based on Docker / Portainer.io

Pi-Hosted Portainer Template V2 This repository is a collection of tutorials for hosting a variety of server applications using Docker and Portainer.

Lumen on Docker - Skeleton project with Nginx, MySQL & PHP 8 | Aws ECS, Google Kubernates, Azure Container Engine

Docker infrastructure for Lumen Description Microservice Lumen is a starting skeleton based on Docker and Lumen Framework. This project helps to devel

Learn how to run WordPress with Docker. Read about our experiences and start off with an easy boilerplate.
Learn how to run WordPress with Docker. Read about our experiences and start off with an easy boilerplate.

Hi! We're Dan and Jay. We're a two person team with a passion for open source products. We created Server Side Up to help share what we learn. Find us

Docker images for Cyber_Security hakathon 2021.
Docker images for Cyber_Security hakathon 2021.

This repository contains a set of vulnerable Docker images for attacking the container environment compiled for Cyber_Security hackathon 2021. Require

🐋📦✂️📋📦 Docker image of packagist mirror

Docker for Packagist Mirror This project allows you to easily create and update a mirror of the packagist having as dependency only the docker. It is

An open source tool that lets you create a SaaS website from docker images in 10 minutes.
An open source tool that lets you create a SaaS website from docker images in 10 minutes.

简体中文 Screenshots for members ( who subscribe the plan ) for admin ⚠️ This document was translated into English by deepl and can be improved by PR An o

Easily install PHP extension in Docker containers

Easy installation of PHP extensions in official PHP Docker images This repository contains a script that can be used to easily install a PHP extension

Owner
Silas S. da Silva.
Programador FullStack com foco em Backend, conhecimentos aprofundados em Frontend e noções de UI/UX. Além disso, sou entusiasta em CyberSecurity.
Silas S. da Silva.
Um repositório com classes, interfaces para padronizar os projetos de PHP da empresa

php-utils PHP Utilities for Laravel/Lumen Installation cd /path/to/your/project composer require logcomex/php-utils Utilities Packages Contracts Excep

LogComex 1 Oct 10, 2022
Jéssica Paula 7 Aug 12, 2022
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

null 6 Nov 9, 2022
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

Meanbee 454 Dec 27, 2022
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

Fu Cheng 144 Nov 18, 2022
🐋 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.

Anton Kliek 1 Jan 26, 2022
Este es un sitema bibliotecario para registro de adquisiciones y prestamos para INATEC Siuna

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

James Reyes 3 Mar 26, 2022
Plugin de Wordpress para criar um Hacker News-like para o ManualdoUsuario.net

?? Órbita Plugin de Wordpress para criar um painel de debates baseado em links, similar ao Hacker News, para o Manual do Usuário. Rodar o projeto Requ

Gabriel Nunes 7 Nov 14, 2022
Running Laravel and React stacks together using Vite and InertiaJS on Docker.

Laravel-Vite-Docker Running Laravel and React stacks together using Vite and InertiaJS on Docker. Explore project's blog » Report Bug · Request Featur

Elvin Lari 6 Dec 22, 2022
This is a collection of tutorials for learning how to use Docker with various tools. Contributions welcome.

Docker Tutorials and Labs At this time we are not actively adding labs to this repository. Our focus is on training.play-with-docker.com where new lab

Docker 11.1k Jan 2, 2023