mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2025-01-11 18:57:18 +01:00
Replace some docker references with {{ devture_systemd_docker_base_host_command_docker }}
This commit is contained in:
parent
e7128055f7
commit
08b29e9b92
@ -11,7 +11,7 @@ password=$2
|
|||||||
admin=$3
|
admin=$3
|
||||||
|
|
||||||
if [ "$admin" -eq "1" ]; then
|
if [ "$admin" -eq "1" ]; then
|
||||||
docker exec matrix-dendrite create-account -config /data/dendrite.yaml -username "$user" -password "$password" -admin -url http://localhost:{{ matrix_dendrite_http_bind_port }}
|
{{ devture_systemd_docker_base_host_command_docker }} exec matrix-dendrite create-account -config /data/dendrite.yaml -username "$user" -password "$password" -admin -url http://localhost:{{ matrix_dendrite_http_bind_port }}
|
||||||
else
|
else
|
||||||
docker exec matrix-dendrite create-account -config /data/dendrite.yaml -username "$user" -password "$password" -url http://localhost:{{ matrix_dendrite_http_bind_port }}
|
{{ devture_systemd_docker_base_host_command_docker }} exec matrix-dendrite create-account -config /data/dendrite.yaml -username "$user" -password "$password" -url http://localhost:{{ matrix_dendrite_http_bind_port }}
|
||||||
fi
|
fi
|
||||||
|
@ -11,7 +11,7 @@ password=$2
|
|||||||
admin=$3
|
admin=$3
|
||||||
|
|
||||||
if [ "$admin" -eq "1" ]; then
|
if [ "$admin" -eq "1" ]; then
|
||||||
docker exec matrix-synapse register_new_matrix_user -u "$user" -p "$password" -c /data/homeserver.yaml --admin http://localhost:{{ matrix_synapse_container_client_api_port }}
|
{{ devture_systemd_docker_base_host_command_docker }} exec matrix-synapse register_new_matrix_user -u "$user" -p "$password" -c /data/homeserver.yaml --admin http://localhost:{{ matrix_synapse_container_client_api_port }}
|
||||||
else
|
else
|
||||||
docker exec matrix-synapse register_new_matrix_user -u "$user" -p "$password" -c /data/homeserver.yaml --no-admin http://localhost:{{ matrix_synapse_container_client_api_port }}
|
{{ devture_systemd_docker_base_host_command_docker }} exec matrix-synapse register_new_matrix_user -u "$user" -p "$password" -c /data/homeserver.yaml --no-admin http://localhost:{{ matrix_synapse_container_client_api_port }}
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user