29 lines
813 B
YAML
29 lines
813 B
YAML
---
|
|
|
|
|
|
- name: start matrix-smtp-webhook container
|
|
docker_container:
|
|
name: matrix-smtp-webhook
|
|
image: git.sudo.is/ops/matrix-smtp-webhook:latest
|
|
auto_remove: false
|
|
detach: true
|
|
pull: true
|
|
restart_policy: "unless-stopped"
|
|
state: started
|
|
container_default_behavior: compatibility
|
|
networks_cli_compatible: false
|
|
ports:
|
|
- "{{ wg_clients[inventory_hostname].ip }}:25:8025/tcp"
|
|
- "127.0.0.1:25:8025/tcp"
|
|
env:
|
|
MATRIX_WEBHOOK_ROOM: "{{ matrix_smtp_room }}"
|
|
MATRIX_WEBHOOK_URL: "{{ matrix_webhook_url }}"
|
|
MATRIX_WEBHOOK_TOKEN: "{{ matrix_webhook_token }}"
|
|
networks:
|
|
- name: bridgewithdns
|
|
ipv4_address: "{{ bridgewithdns.matrix_smtp }}"
|
|
tags:
|
|
- matrix-bridge-smtp-container
|
|
- matrix-smtp-webhook
|
|
- docker-containers
|