Sign inSign up

analogic/symserver

By analogic

•Updated about 16 hours ago

One-container webserver&php needed for Symfony development

Image
0

741

analogic/symserver repository overview

⁠Complete web server for Symfony dev

  • PHP 7.4 (packages.sury.org)
  • nginx
  • crontab (logrotate and other...)
  • ssmtp (crontab errors sending)
  • incrond (for sending spooled emails)

⁠Symfony compatibility

nginx serves /var/www/web with front controllers app.php / app_dev.php. That layout is used only by Symfony 2.x and 3.x (3.4 LTS is the last one). Symfony 4+ (Flex) uses public/index.php and will NOT work without changing rootfs/etc/nginx/sites-enabled/default.

$ docker run --name symserver \
      -v /symfony/project/dir:/var/www \
      -v /data/logs:/var/log/nginx \
      analogic/symserver

Tag summary

Content type

Image

Digest

sha256:ed9d59d17…

Size

179.7 MB

Last updated

about 16 hours ago

docker pull analogic/symserver