Sign inSign up

analogic/sym4server

By analogic

•Updated about 9 hours ago

Symfony 4 full featured web server

Image
0

10K+

analogic/sym4server repository overview

⁠Complete web server for Symfony 4 / 5 dev

Based on analogic/symserver⁠ (Debian trixie, s6-overlay v3), only the nginx config differs.

  • PHP 7.4 (packages.sury.org)
  • nginx + nchan (/_sub/<channel> websocket/SSE, /_pub/<channel> from localhost only)
  • crontab (logrotate and other...)
  • ssmtp (crontab errors sending)
  • incrond (for sending spooled emails)

⁠Symfony compatibility

nginx serves /var/www/public with front controller index.php (Symfony Flex layout).

SymfonyWorksNote
2.x, 3.xnoweb/app.php layout, use analogic/symserver
4.xyes4.4 LTS recommended
5.xyes5.4 LTS recommended
6.x, 7.x+norequires PHP >= 8.0.2 / 8.2
$ docker run --name sym4server \
      -v /symfony/project/dir:/var/www \
      -v /data/logs:/var/log/nginx \
      analogic/sym4server

Tag summary

Content type

Image

Digest

sha256:d0285da59…

Size

179.7 MB

Last updated

about 9 hours ago

docker pull analogic/sym4server