updating configuration

This commit is contained in:
monster
2018-12-30 16:33:51 +03:00
parent a29f94d0c6
commit adc65c950a
+1 -2
View File
@@ -68,7 +68,6 @@ services:
nginx:
image: nginx
hostname: nginx
restart: always
container_name: nginx
links:
- "hass"
@@ -86,8 +85,8 @@ services:
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/%SERVER_IP%/$$SERVER_IP/g\" /etc/nginx/conf.d/*.conf && \
cat /etc/nginx/conf.d/*.conf && \
nginx -g 'daemon off;'"
restart: always
logging:
driver: json-file
options: