Skip to content

barein/docker-set

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker-set

A personnal docker-compose environment for symfony 4 apps. Provides an nginx http server and a mariadb 10.4.12

Getting Started

Create your symfony project in the apps/ directory. At the root directory of this docker-set project, create a .env file based on .env.dist and change the APP_NAME var with your new app name. If you don't intend to use Makefile commands to build the containers change also USER_ID, GROUP_ID and USERNAME env vars with your local user info (see id command).

Set doctrine.dbal.server_version to '10.4.12', in doctrine.yaml. Add DATABASE_URL env var to the Sf4 .env.local file with mysql://dev:dev123@db:3306/main_db. Same for any other required env var.

Run make build and then make start.

Your app is available at localhost:80

Built With

Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published