2020-01-21 05:24:45 +01:00
|
|
|
#!/bin/bash
|
|
|
|
|
2022-03-16 08:02:45 +01:00
|
|
|
REDIS_LOCAL=false
|
2022-05-26 03:49:09 +02:00
|
|
|
if [ -f /etc/supervisor/minimal.conf.d/redis.conf ]; then
|
2022-03-16 08:02:45 +01:00
|
|
|
REDIS_LOCAL=true
|
2022-01-23 13:41:11 +01:00
|
|
|
fi
|
2022-03-16 08:02:45 +01:00
|
|
|
export REDIS_LOCAL
|
2022-01-23 13:41:11 +01:00
|
|
|
|
|
|
|
# Copy the nginx template to its destination.
|
2022-01-24 14:11:34 +01:00
|
|
|
dockerize -template "/etc/nginx/nginx.conf.tmpl:/etc/nginx/nginx.conf" \
|
|
|
|
-template "/etc/nginx/azuracast.conf.tmpl:/etc/nginx/sites-available/default"
|