mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-11-14 10:04:46 +08:00
implement requested changes
This commit is contained in:
parent
f2a2cad107
commit
17e86ba817
@ -210,7 +210,7 @@ matrix_mautrix_telegram_api_hash: YOUR_TELEGRAM_API_HASH
|
|||||||
# Use an uuid so it's not easily discoverable
|
# Use an uuid so it's not easily discoverable
|
||||||
matrix_mautrix_telegram_public_endpoint: "/{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'telegram') | to_uuid }}"
|
matrix_mautrix_telegram_public_endpoint: "/{{ matrix_synapse_macaroon_secret_key | password_hash('sha512', 'telegram') | to_uuid }}"
|
||||||
# Set this to a port number to expose on the host when not using the nginx proxy
|
# Set this to a port number to expose on the host when not using the nginx proxy
|
||||||
matrix_mautrix_telegram_container_expose_port: false
|
matrix_mautrix_telegram_container_exposed_port_number: ~
|
||||||
|
|
||||||
# Matrix mautrix is a Matrix <-> Whatsapp bridge
|
# Matrix mautrix is a Matrix <-> Whatsapp bridge
|
||||||
# Enable whatsapp bridge
|
# Enable whatsapp bridge
|
||||||
|
@ -21,8 +21,8 @@ ExecStart=/usr/bin/docker run --rm --name matrix-mautrix-telegram \
|
|||||||
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
||||||
--cap-drop=ALL \
|
--cap-drop=ALL \
|
||||||
--network={{ matrix_docker_network }} \
|
--network={{ matrix_docker_network }} \
|
||||||
{% if matrix_mautrix_telegram_container_expose_port %}
|
{% if matrix_mautrix_telegram_container_exposed_port_number is not none %}
|
||||||
-p 127.0.0.1:{{ matrix_mautrix_telegram_container_expose_port }}:8080 \
|
-p 127.0.0.1:{{ matrix_mautrix_telegram_container_exposed_port_number }}:8080 \
|
||||||
{% endif %}
|
{% endif %}
|
||||||
-v {{ matrix_mautrix_telegram_base_path }}:/data:z \
|
-v {{ matrix_mautrix_telegram_base_path }}:/data:z \
|
||||||
{{ matrix_mautrix_telegram_docker_image }} \
|
{{ matrix_mautrix_telegram_docker_image }} \
|
||||||
|
Loading…
Reference in New Issue
Block a user