updating configuration
This commit is contained in:
+1
-2
@@ -68,7 +68,6 @@ services:
|
|||||||
nginx:
|
nginx:
|
||||||
image: nginx
|
image: nginx
|
||||||
hostname: nginx
|
hostname: nginx
|
||||||
restart: always
|
|
||||||
container_name: nginx
|
container_name: nginx
|
||||||
links:
|
links:
|
||||||
- "hass"
|
- "hass"
|
||||||
@@ -86,8 +85,8 @@ services:
|
|||||||
sed -i \"s/%DOMAIN%/$$HASS_DOMAIN/g\" /etc/nginx/conf.d/*.conf && \
|
sed -i \"s/%DOMAIN%/$$HASS_DOMAIN/g\" /etc/nginx/conf.d/*.conf && \
|
||||||
sed -i \"s/%PASS%/$$HASS_PASSWORD/g\" /etc/nginx/conf.d/*.conf && \
|
sed -i \"s/%PASS%/$$HASS_PASSWORD/g\" /etc/nginx/conf.d/*.conf && \
|
||||||
sed -i \"s/%SERVER_IP%/$$SERVER_IP/g\" /etc/nginx/conf.d/*.conf && \
|
sed -i \"s/%SERVER_IP%/$$SERVER_IP/g\" /etc/nginx/conf.d/*.conf && \
|
||||||
cat /etc/nginx/conf.d/*.conf && \
|
|
||||||
nginx -g 'daemon off;'"
|
nginx -g 'daemon off;'"
|
||||||
|
restart: always
|
||||||
logging:
|
logging:
|
||||||
driver: json-file
|
driver: json-file
|
||||||
options:
|
options:
|
||||||
|
|||||||
Reference in New Issue
Block a user