Skip to content

akiavara/docker-symfony

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker for Symfony

This repository allows the creation of a Docker environment for setup a Symfony application

Architecture

Here are the environment containers:

Install

First, copy the env example file:

cp .env.dist .env

Now you can edit your .env with your own data:

Variable Description
WEBSITES The path where your PHP projects are located
MYSQL_ALLOW_EMPTY_PASSWORD centered
MYSQL_ROOT_PASSWORD The password of root user
MYSQL_USER Your mysql user
MYSQL_PASSWORD The mysql user's password
MYSQL_DATABASE The database name (example "projects")

Create a Nginx file in the folder "nginx/site-available"

docker-compose up -d

About

Basic docker env to work for symfony applications

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published