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: ''