mirror of
https://github.com/status-im/infra-role-matterbridge.git
synced 2025-02-24 12:38:14 +00:00
16 lines
498 B
YAML
16 lines
498 B
YAML
---
|
|
- name: MatterBridge | Create container
|
|
docker_container:
|
|
name: '{{ matterbridge_cont_name }}'
|
|
image: '{{ matterbridge_cont_image }}'
|
|
pull: true
|
|
restart_policy: always
|
|
state: '{{ cont_state }}'
|
|
recreate: '{{ cont_recreate }}'
|
|
restart: '{{ config_file.changed or cont_restart }}'
|
|
volumes:
|
|
- '{{ matterbridge_cont_vol }}/matterbridge.yaml:/matterbridge.yaml'
|
|
command: |
|
|
-conf=/matterbridge.yaml
|
|
{% if matterbridge_debug %}-debug{% endif %}
|