mirror of
https://github.com/status-im/infra-role-matterbridge.git
synced 2025-02-19 18:18:28 +00:00
docker: add conditional for environment section
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
1ee6568bad
commit
98a91cd311
@ -10,10 +10,12 @@ services:
|
||||
max_attempts: 3
|
||||
delay: '10s'
|
||||
window: '60s'
|
||||
{% if matterbridge_cont_env %}
|
||||
environment:
|
||||
{% for key,val in matterbridge_cont_env.items() %}
|
||||
{{ key }}: '{{ val }}'
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
volumes:
|
||||
- '{{ matterbridge_cont_vol }}/data:/data'
|
||||
- '{{ matterbridge_cont_vol }}/config:/config:ro'
|
||||
|
Loading…
x
Reference in New Issue
Block a user