Skip to content

Commit

Permalink
conditionally enable ipv6 in the docker-compose.yml
Browse files Browse the repository at this point in the history
Signed-off-by: msc-xdev <[email protected]>
  • Loading branch information
msc-xdev committed Aug 30, 2024
1 parent cf54911 commit 5ef2853
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -314,6 +314,9 @@ services:
{% endif %}
networks:
- harbor
{% if ip_family.ipv6.enabled %}
- harbor_ipv6
{% endif %}
ports:
- {{http_port}}:8080
{% if protocol == 'https' %}
Expand Down Expand Up @@ -399,4 +402,8 @@ services:
networks:
harbor:
external: false

{% if ip_family.ipv6.enabled %}
harbor_ipv6:
external: false
enable_ipv6: true
{% endif %}

0 comments on commit 5ef2853

Please sign in to comment.