Skip to content
Jakob Runge edited this page Nov 24, 2015 · 1 revision

The nginx.sndcomp container

The lingdb/nginx_sndcomp container acts as a reverse-proxy for the lingdb/sndcomp container. In general this container works like a reduced version of the lingdb/nginx container.

Requirements

The nginx/sound directory needs to be filled with the sound files for the lingdb/sndcomp container so that they can be served as static files. Note that this is essentially the setup requirement for lingdb/nginx.

build.sh

Executing nginx.sndcomp/build.sh creates the lingdb/nginx_sndcomp container, which is based on nginx:1.9.7. During build, the static files from the lingdb/sndcomp container are copied into the sndcompStaticdirectory, from where they are copied into the containers static directory. In contrast to lingdb/nginx, this container doesn't care about a htpasswd file.

run.sh

nginx.sndcomp/run.sh starts an instance of lingdb/nginx_sndcomp linking it against the latest running instance of lingdb/sndcomp.

Clone this wiki locally