Added some comments

This commit is contained in:
WilliamMiceli
2018-12-09 21:57:17 -05:00
parent fe696b4679
commit 8e87382743

View File

@@ -3,7 +3,7 @@ version: '2'
services: services:
nextcloud: nextcloud:
image: nextcloud:fpm-alpine image: nextcloud:fpm-alpine
dns: dns: # Using Cloudflare DNS
- 1.1.1.1 - 1.1.1.1
- 1.0.0.1 - 1.0.0.1
environment: environment:
@@ -27,8 +27,8 @@ services:
volumes_from: volumes_from:
- nginx - nginx
nginx: nginx:
image: nginx:latest # :alpine image: nginx:latest # Can't use ":alpine" until I have a way to get the "www-data" user added automatically. (Project for another time)
dns: dns: # Using Cloudflare DNS
- 1.1.1.1 - 1.1.1.1
- 1.0.0.1 - 1.0.0.1
labels: labels:
@@ -75,7 +75,7 @@ services:
- /RancherCattle/${DATA_DIR}/UserData:/var/www/html/data # Users' data file - /RancherCattle/${DATA_DIR}/UserData:/var/www/html/data # Users' data file
mysql: mysql:
image: mysql:5 image: mysql:5
dns: dns: # Using Cloudflare DNS
- 1.1.1.1 - 1.1.1.1
- 1.0.0.1 - 1.0.0.1
environment: environment:
@@ -100,7 +100,7 @@ services:
{{- if eq .Values.REDIS "true"}} {{- if eq .Values.REDIS "true"}}
redis: redis:
image: redis:latest image: redis:latest
dns: dns: # Using Cloudflare DNS
- 1.1.1.1 - 1.1.1.1
- 1.0.0.1 - 1.0.0.1
labels: labels:
@@ -108,6 +108,9 @@ services:
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL} io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}} {{- end}}
restart: on-failure restart: on-failure
volumes:
- /etc/localtime:/etc/localtime:ro # Syncronize time of container with the host system
- /etc/timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
{{- end}} {{- end}}
networks: networks: