docker_images/odoo/nginx/launch.sh

12 lines
272 B
Bash

#!/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