Different setup for NGINX
This commit is contained in:
@@ -96,6 +96,7 @@ services:
|
|||||||
dns:
|
dns:
|
||||||
- 1.1.1.1
|
- 1.1.1.1
|
||||||
- 1.0.0.1
|
- 1.0.0.1
|
||||||
|
environment:
|
||||||
labels:
|
labels:
|
||||||
{{- if (.Values.HOST_LABEL)}}
|
{{- if (.Values.HOST_LABEL)}}
|
||||||
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
|
||||||
@@ -106,7 +107,7 @@ services:
|
|||||||
- "${HOST_HTTP_PORT}:80"
|
- "${HOST_HTTP_PORT}:80"
|
||||||
restart: on-failure
|
restart: on-failure
|
||||||
volumes:
|
volumes:
|
||||||
- Web:/etc/nginx
|
- ./nginx.conf:/etc/nginx/nginx.conf:ro
|
||||||
volumes_from:
|
volumes_from:
|
||||||
- app
|
- app
|
||||||
|
|
||||||
@@ -129,9 +130,9 @@ volumes:
|
|||||||
host: 10.0.10.21
|
host: 10.0.10.21
|
||||||
export: /RancherCattleData/${DATA_DIR}/Storage
|
export: /RancherCattleData/${DATA_DIR}/Storage
|
||||||
onRemove: retain
|
onRemove: retain
|
||||||
Web:
|
# Web:
|
||||||
driver: rancher-nfs
|
# driver: rancher-nfs
|
||||||
driver_opts:
|
# driver_opts:
|
||||||
host: 10.0.10.21
|
# host: 10.0.10.21
|
||||||
export: /RancherCattleData/${DATA_DIR}/Web
|
# export: /RancherCattleData/${DATA_DIR}/Web
|
||||||
onRemove: retain
|
# onRemove: retain
|
||||||
Reference in New Issue
Block a user