File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -13,8 +13,8 @@ mkdir -p \
13
13
# copy config files
14
14
[[ ! -f /config/nginx/nginx.conf ]] &&
15
15
cp /defaults/nginx.conf /config/nginx/nginx.conf
16
- [[ ! -f /config/nginx/site-confs/default ]] &&
17
- envsubst < /defaults/default > /config/nginx/site-confs/default
16
+ [[ ! -f /config/nginx/site-confs/default ]] && \
17
+ envsubst ' ${NGINX_PORT} ' < /defaults/default > /config/nginx/site-confs/default
18
18
19
19
# create dnsmasq config, and conditionally add DHCP proxy support
20
20
if [[ ! -f /config/dnsmasq/dnsmasq.conf ]]; then
@@ -28,7 +28,7 @@ if [[ ! -f /config/dnsmasq/dnsmasq.conf ]]; then
28
28
CONTAINER_IP=$( hostname -i)
29
29
export CONTAINER_IP
30
30
fi
31
- envsubst < /defaults/dnsmasq-dhcpproxy.conf >> /config/dnsmasq/dnsmasq.conf
31
+ envsubst ' ${DHCP_RANGE_START} ${CONTAINER_IP} ' < /defaults/dnsmasq-dhcpproxy.conf >> /config/dnsmasq/dnsmasq.conf
32
32
fi
33
33
fi
34
34
You can’t perform that action at this time.
0 commit comments