Public | Automated Build

Last pushed: 6 days ago
Short Description
Docker for symfony application
Full Description

Symfony + Nginx + php-fpm

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

Supported tags and respective Dockerfile links

7, 7.1 (7.1/Dockerfile)

7.0 (7.0/Dockerfile)

5, 5.6, latest (5.6/Dockerfile)

5.4 (5.4/Dockerfile)


docker pull kibatic/symfony

Then run in your symfony folder

docker run -v $(pwd):/var/www -p 8080:80 kibatic/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
  • php*-fpm
  • php*-cli
  • php*-intl
  • php*-mbstring

Exposed port

  • 80 : nginx
Docker Pull Command
Source Repository