jashk / symfony-docker

Symfony4 Docker Development Stack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Symfony4 Docker Development Stack

This is a lightweight stack based on Alpine Linux for running Symfony 4 into Docker containers using docker-compose.

Build Status

Prerequisites

Container

Installing

run docker and connect to container:

 docker-compose up --build
 docker-compose exec php sh

install latest version of Symfony via composer:

$ composer create-project symfony/website-skeleton .

configure the database connection information in your root directory .env

DATABASE_URL=mysql://root:root@mysql:3306/symfony

call localhost in your browser:

About

Symfony4 Docker Development Stack


Languages

Language:Dockerfile 100.0%