Sign inSign up

rocit/nginx

By rocit

•Updated over 3 years ago

Nginx templates

Image
1

5.0K

rocit/nginx repository overview

⁠NginX Symfony 4 ready container

An NginX image ready for symfony 4.

⁠Getting Started

SERVER_NAME="localhost"
FPM_DSN="php:9000"
# ./docker-compose.yaml
version: 3.7
services:
    nginx:
        image: 'rocit/nginx:1.19-alpine-symfony4'
        working_dir: '/var/www/html'
        env_file:
            - './nginx.env'
        tty: true
⁠Prerequisities

In order to run this container you'll need docker installed.

⁠Usage
⁠Environment Variables
  • symfony4
    • SERVER_NAME - (default: 'localhost') Host to set in NginX.
    • FPM_DSN - (default: 'php:9000') FPM Host & Port.
⁠Volumes
  • /var/www/html - Project files

⁠Built With

TODO: list all versions of libraries

⁠Authors

  • php⁠ - A PHP image ready to be used for several use cases: Symfony + Postgres, with or without debug, with or without blackfire, with or without cron.

⁠License

This project is licensed under the MIT License - see the LICENSE.md⁠ file for details.

Tag summary

Content type

Image

Digest

sha256:9288a2268…

Size

17.9 MB

Last updated

over 3 years ago

docker pull rocit/nginx:1.25-alpine-symfony