Skip to content

A little Symfony example application utilizing Docker and fig

Notifications You must be signed in to change notification settings

MuellerMH/symfony-docker-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Dockerized Symfony Project

A symfony project utilizing Docker based on PHP-FPM and nginx.

Running

You can run the Docker environment using fig:

$ fig up -d

You can run one-shot command inside the symfony service container:

$ fig run --rm symfony composer install
$ fig run --rm symfony php app/console cache:clear

Example Application

The example app implements a simple weather application using Redis.

During the startup of the fpm service some fixture data will be generated for you automatically. If you want to add your own entries you can use the console command shipped with the example application:

$fig run --rm symfony php app/console giantswarm:temperature:add cologne 30

About

A little Symfony example application utilizing Docker and fig

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 93.9%
  • Shell 2.6%
  • Dockerfile 2.1%
  • Twig 1.4%