From 839738d06b65fc31edcad3406adc278069dd5edc Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 17 May 2020 22:13:21 +0200 Subject: switch to improved portmapping for all other k8s standalone apps --- roles/apps/nextcloud/templates/pod-with-mariadb.yml.j2 | 1 + 1 file changed, 1 insertion(+) (limited to 'roles/apps/nextcloud/templates/pod-with-mariadb.yml.j2') diff --git a/roles/apps/nextcloud/templates/pod-with-mariadb.yml.j2 b/roles/apps/nextcloud/templates/pod-with-mariadb.yml.j2 index dfef3810..72f8cb7a 100644 --- a/roles/apps/nextcloud/templates/pod-with-mariadb.yml.j2 +++ b/roles/apps/nextcloud/templates/pod-with-mariadb.yml.j2 @@ -41,6 +41,7 @@ spec: ports: - containerPort: 8080 hostPort: {{ item.value.port }} + hostIP: 127.0.0.1 - name: database image: "mariadb:{{ item.value.database.version }}" args: -- cgit v1.2.3