Skip to content

NicklasWallgren/symfony-docker-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Symfony Docker Starter

An Symfony starter kit featuring Symfony and Docker ([PHP], [MySQL], [Memcached], and [Nginx])

This seed repo serves as an Symfony starter for anyone looking to get up and running with Symfony and PHP fast. Using Docker for building our environment.

  • Ready to go development environment using Docker for working with Symfony.
  • A great Symfony seed repo for anyone who wants to start their project.

Quick start

Make sure you have Docker version >= 17.04.0

# clone our repo # --depth 1 removes all but one .git commit history git clone --depth 1 --recursive https://github.com/NicklasWallgren/symfony-docker-starter.git symfony-docker-starter # change directory to our repo cd symfony-docker-starter # start the docker containers. The first boot will take some time make

go to http://localhost or http://

Getting Started

Commands

Start containers

make 

Stop containers

make halt 

Start individual container

make start [php-fpm|php-cli|nginx|mysql|memcached] 

Stop individual container

make stop [php-fpm|php-cli|nginx|mysql|memcached] 

Update composer dependencies

make update-project 

Access Symfony cli

# Access the php container make bash-cli # Launch the symfony cli php ./symfony/bin/console

Access MySQL cli

make mysql-cli 

Access PHP container bash

make bash-php 

Access Nginx container bash

make bash-nginx 

Access PHP-FPM container bash

make bash-fpm 

Access Memcached container bash

make bash-memcached 

Access MySQL container bash

make bash-mysql 

Check container status

make status 

Contributing

I'll accept pretty much everything so feel free to open a Pull-Request

About

Symfony framework starter

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published