summaryrefslogtreecommitdiff
path: root/roles/apps/nextcloud/templates/pod-with-mariadb.yml.j2
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2020-05-17 22:13:21 +0200
committerChristian Pointner <equinox@spreadspace.org>2020-05-17 22:13:21 +0200
commit839738d06b65fc31edcad3406adc278069dd5edc (patch)
tree9f4c0776cc0930ced9f5ee5165c136a81458c473 /roles/apps/nextcloud/templates/pod-with-mariadb.yml.j2
parentkubernetes/standalone: fix portmap and hostIP handling (diff)
switch to improved portmapping for all other k8s standalone apps
Diffstat (limited to 'roles/apps/nextcloud/templates/pod-with-mariadb.yml.j2')
-rw-r--r--roles/apps/nextcloud/templates/pod-with-mariadb.yml.j21
1 files changed, 1 insertions, 0 deletions
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: