An nginx front end for the akeneo docker image.
This exposes port 80.
The APP_ENVIRONMENT. By default this is set to production. If you set this to development then it will update the front controller to point at app_dev.php rather than app.php.
This should be the name of the php akeneo docker container that you link into
this container. That way nginx will know where to pass the php fpm requests.
The default value is: php
The server_name for the nginx configuration.
The nginx error log level.
An ip that is allowed to view the php-fpm and nginx status pages.
If you set this variable to HOST_IP
then it'll get replaced by the docker
host's ip in the entrypoint.
The nginx client_max_body_size directive for the akeneo nginx configuration at the server level. It is set to the nginx default value of 1m by default.
If this is set to any value, then it will look for the load balancer header
X-Forwarded-Proto
to check for http traffic. If the traffic is http then it
will redirect to https.
The entrypoint will set up the front controller environment file off of the value of the APP_ENVIRONMENT variable. It will then generate a nginx config for akeneo off of the values of the ENVIRNOMENT variables.
The default command is to run nginx in the foreground.