One-container webserver&php needed for Symfony development
741
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
Content type
Image
Digest
sha256:ed9d59d17…
Size
179.7 MB
Last updated
about 16 hours ago
docker pull analogic/symserver