Skip to content
Jakob Runge edited this page Jul 15, 2016 · 4 revisions

The nginx container

The lingdb/nginx container acts as a reverse-proxy for the lingdb/ielex2 and lingdb/sndcomp containers.

Requirements

The nginx/sound directory needs to be filled with the sound files for the lingdb/sndcomp container, so that nginx can serve these static files.

build.sh

Executing nginx/build.sh the Dockerfile builds the lingdb/nginx container on the basis of nginx:1.9.7. To achieve this the siteconfig file is copied to /etc/nginx/conf.d/default.conf and htpasswd is copied to /. build.sh also fills the ielexStatic directory by copying the CoBL/static contents into it from lingdb/cobl:latest. The ielexStatic directory is than copied into the container, as is the htpasswd file.

run.sh

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

Clone this wiki locally