From c3106fb6af3891b79ed096b816dcbbe741df3859 Mon Sep 17 00:00:00 2001 From: yohan <783b8c87@scimetis.net> Date: Sun, 27 Oct 2024 15:29:32 +0100 Subject: [PATCH] Make mysqlnet an internal network. --- tasks/mysql-server_install_from_backup_stage_1.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/mysql-server_install_from_backup_stage_1.yml b/tasks/mysql-server_install_from_backup_stage_1.yml index bdcb9c4..4f38a1a 100644 --- a/tasks/mysql-server_install_from_backup_stage_1.yml +++ b/tasks/mysql-server_install_from_backup_stage_1.yml @@ -2,6 +2,10 @@ - name: Create mysqlnet network containers.podman.podman_network: name: mysqlnet + # We do not need to publish ports from this network + # and publishing ports on containers that are attached to mysqlnet + # and other networks will not work unless all networks but one are internal. + internal: true become: true - name: Create /usr/local/docker-mounted-files/docker-mysql-server-stack directory