Sign inSign up

jcrombez/symfony

By jcrombez

•Updated over 10 years ago

plop

Image
0

1.1K

jcrombez/symfony repository overview

symfony-docker

⁠Symfony + Nginx + php-fpm

Foo

Docker for Symfony application, powered by Nginx and php-fpm.

Based on Debian Jessie.

If you are experiencing some issues, take a look at TROUBLESHOOTING⁠

⁠Usage

docker pull kitpages/symfony

Then run in your symfony folder

docker run -v $(pwd):/var/www -p 8080:80 kitpages/symfony

Symfony app will be accessible on http://localhost:8080/app.php⁠

⁠Custom nginx configuration

If you want to replace the default nginx settings, overwrite configuration file at /etc/nginx/sites-enabled/default.

COPY nginx.conf /etc/nginx/sites-enabled/default

You may also want to add only some directives in existing site config⁠.

COPY custom-config.conf /etc/nginx/conf.d/docker/custom-config.conf 

⁠Minimal package included

  • nginx
  • php5-fpm
  • php5-cli
  • php5-intl

⁠Exposed port

  • 80 : nginx

Tag summary

Content type

Image

Digest

Size

94.9 MB

Last updated

over 10 years ago

docker pull jcrombez/symfony