Removed other networks, fixed Database

This commit is contained in:
WilliamMiceli
2019-01-11 16:54:09 -05:00
parent 3a9e9a74c2
commit 0cb7258eff

View File

@@ -104,8 +104,6 @@ services:
- collabora - collabora
{{- end}} {{- end}}
- nextcloud - nextcloud
networks:
- public-proxy
{{- if .Values.WEB_PORT}} {{- if .Values.WEB_PORT}}
ports: ports:
- "${WEB_PORT}:80" - "${WEB_PORT}:80"
@@ -136,15 +134,11 @@ services:
io.rancher.scheduler.affinity:host_label: ${HOST_LABEL} io.rancher.scheduler.affinity:host_label: ${HOST_LABEL}
{{- end}} {{- end}}
traefik.enable: false traefik.enable: false
networks:
db-admin:
aliases:
- nextcloud
restart: on-failure restart: on-failure
volumes: volumes:
- Localtime:/etc/localtime:ro # Syncronize time of container with the host system - Localtime:/etc/localtime:ro # Syncronize time of container with the host system
- Timezone:/etc/timezone:ro # Syncronize timezone of container with the host system - Timezone:/etc/timezone:ro # Syncronize timezone of container with the host system
- mysql:/var/lib/mysql - Database:/var/lib/mysql
{{- if eq .Values.REDIS "true"}} {{- if eq .Values.REDIS "true"}}
redis: redis:
image: redis:alpine image: redis:alpine