Merge pull request #159 from TheLastProject/feature/docker_add_hosts

Add the possibility to pass extra flags to the docker container
This commit is contained in:
Slavi Pantaleev
2019-05-05 10:22:59 +03:00
committed by GitHub
18 changed files with 54 additions and 0 deletions

View File

@ -46,6 +46,9 @@ ExecStart=/usr/bin/docker run --rm --name matrix-synapse \
{% for volume in matrix_synapse_container_additional_volumes %}
-v {{ volume.src }}:{{ volume.dst }}:{{ volume.options }} \
{% endfor %}
{% for arg in matrix_synapse_container_extra_arguments %}
{{ arg }} \
{% endfor %}
{{ matrix_synapse_docker_image }} \
-m synapse.app.homeserver -c /data/homeserver.yaml