Small Docker fixes #34
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "fix/nginx-docker"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains some small fixes for the Docker container(s) that I noticed:
/favicon.ico
from being sent to PHP-FPM, which fixes an error regarding an invalid CSRF token.LG_TERMS
environment variable is not defined. This has been fixed, so that if this variable is not defined, it is not shown.docker-compose.yml
, and commented out the optional ones that probably shouldn't be turned on by default..dockerignore
file; the build context of this image is set to the root of the repository, which means that any paths in the.dockerignore
file should use this directory as the base as well.Thank you very much for your PR. Could you also set
LG_TERMS
in config.dist.php to false, so it matches the Docker config.php 👍🏽Done :)
I have also added a few installation steps for Docker to the README; these are very simple and don't cover things like enabling HTTPS and other things that you would want to do for production use.
Additionally, there are a few other things that could be done to make the Docker deployment method more of a first-class citizen, like:
But whether that is worth doing depends on whether the Docker images are meant for production use, or really just for testing purposes.
@evanebb thank you for your effort. Merging this for a new release!