Skip to content

This is the simplest way to run Symfony5 without modifying your local machine environment to develop your new Symfony5 project.

License

Notifications You must be signed in to change notification settings

kuldipem/symfony5-docker

Repository files navigation

Symfony5 Development Docker

This is the simplest way to run Symfony5 without modifying your local machine environment to develop your new Symfony5 project.

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:

# traditional web application: 
$ composer create-project symfony/website-skeleton .

or

# microservice, console application or API:
$ composer create-project symfony/skeleton .

modify your DATABASE_URL config in .env

DATABASE_URL=mysql://root:root@mysql:3306/symfony?serverVersion=5.7

call localhost in your browser

About

This is the simplest way to run Symfony5 without modifying your local machine environment to develop your new Symfony5 project.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published