Advanced Setup¶
Nginx Configuration¶
LOST is shipped in docker containers. The base image inherits from an official nginx container. LOST is installed in this container. The communication to the host system is done via the nginx webserver, which can be configured via a configuration file. A differentiation is made between the debug mode and a productive environment.
Configuration File¶
When starting the lost container the corresponding configuration file (depending on debug mode) for nginx is copied from the repository into the folder
/etc/nginx/conf.d/default.conf
by the entrypoint.sh script.
Both nginx configuration files can be found at: lost/docker/lost/nginx in our GitHub repository.
Custom Configuration File¶
If a custom configuration file is desired, this file must be mounted from the host machine into the lost container.
volumes: - /host/path/to/nginx/conf:/etc/nginx/conf.d/default.conf