-
Notifications
You must be signed in to change notification settings - Fork 0
nginx
The lingdb/nginx
container acts as a reverse-proxy for the lingdb/ielex2 and lingdb/sndcomp containers.
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.
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.
nginx/run.sh
starts an instance of lingdb/nginx
linking it against the latest running instances of lingdb/CoBL and lingdb/sndcomp.