From 1738f746c12512143f192dc18cad710341d30c06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bergr=C3=BCbe?= <68869895+Bergruebe@users.noreply.github.com> Date: Mon, 22 Apr 2024 20:02:25 +0200 Subject: [PATCH] add variable forgejo_container_additional_networks_custom by combining it with forgejo_container_additional_networks_auto to the normal forgejo_container_additional_networks_custom --- defaults/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/defaults/main.yml b/defaults/main.yml index d4d47c1..5c353f8 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -132,7 +132,10 @@ forgejo_container_network: "{{ forgejo_identifier }}" # A list of additional container networks that the container would be connected to. # The playbook does not create these networks, so make sure they already exist. -forgejo_container_additional_networks: [] +# Use this to expose this container to a reverse proxy, which runs in a different container network. +forgejo_container_additional_networks: "{{ forgejo_container_additional_networks_auto + forgejo_container_additional_networks_custom }}" +forgejo_container_additional_networks_auto: [] +forgejo_container_additional_networks_custom: [] # Additional environment variables. forgejo_environment_variables_additional_variables: ''