Skip to content

Commit

Permalink
docker-compose.yml.j2: update the usage of 'topic' parameter
Browse files Browse the repository at this point in the history
This change is interesting due to the deprecation of the 'topics'
parameter.

waku-org/nwaku#1727
  • Loading branch information
Ivansete-status committed May 30, 2023
1 parent a0802a1 commit eed1a10
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion templates/docker-compose.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ services:
--keep-alive={{ nim_waku_keep_alive | to_json }}
--max-connections={{ nim_waku_p2p_max_connections }}
--dns4-domain-name={{ nim_waku_dns4_domain_name }}
--topics='{{ nim_waku_topics | join(" ") }}'
{% for topic in nim_waku_topics %}
--topic='{{ topic }}'
{% endfor %}
{% for protected_topic in nim_waku_protected_topics %}
--protected-topic='{{ protected_topic | mandatory }}'
{% endfor %}
Expand Down

0 comments on commit eed1a10

Please sign in to comment.