Avoid modifying the upstream compose file and track our overrides which
handle the container build using SUSE BCI base images, the loading of
environment variables from a canonical location, and the disabling of
the integrated database service.
A Traefik reverse proxy to handle TLS termination is added as well.
Signed-off-by: Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com>
The reason is that in the default configuration nginx is only serving 'http' traffic.
So if an upstream proxy sets the 'X-Forwarded-Proto' header, because it is terminating
TLS, then nginx will overwrite it to 'http'. This will cause django to think the page
is served via 'http' and it will not create 'https://...' URLs.
Related to #292
Adding an ignore rule for docker-compose.override.yml should allow people to clone this repo and use an override file to match their environment, without that file causing issues every time they pull a new version of the repo.
This changes the default configuration to be better prepared for
usage with container management platforms, such as Docker Swarm,
Kubernetes or OpenShift.
Closes#27.