docker_images/odoo/nginx/launch.sh

12 lines
272 B
Bash
Raw Normal View History

2016-09-30 15:03:26 +02:00
#!/bin/bash
# Needed for envsubst to replace $ in final rendering
export DOLLSIGN=$
# Bash templating
envsubst < /etc/nginx/conf.d/root.template > /etc/nginx/conf.d/root.conf
envsubst < /etc/nginx/conf.d/odoo.template > /etc/nginx/conf.d/odoo.conf
# Nginx launch
nginx