Minor consistency improvement
This commit is contained in:
parent
f254aaf44a
commit
084a0a0e53
@ -12,7 +12,7 @@ Type=simple
|
|||||||
ExecStartPre=-/usr/bin/docker kill matrix-nginx-proxy
|
ExecStartPre=-/usr/bin/docker kill matrix-nginx-proxy
|
||||||
ExecStartPre=-/usr/bin/docker rm matrix-nginx-proxy
|
ExecStartPre=-/usr/bin/docker rm matrix-nginx-proxy
|
||||||
ExecStart=/usr/bin/docker run --rm --name matrix-nginx-proxy \
|
ExecStart=/usr/bin/docker run --rm --name matrix-nginx-proxy \
|
||||||
--network {{ matrix_docker_network }} \
|
--network={{ matrix_docker_network }} \
|
||||||
-p 80:80 \
|
-p 80:80 \
|
||||||
-p 443:443 \
|
-p 443:443 \
|
||||||
-v {{ matrix_nginx_proxy_confd_path }}:/etc/nginx/conf.d:ro \
|
-v {{ matrix_nginx_proxy_confd_path }}:/etc/nginx/conf.d:ro \
|
||||||
|
@ -11,7 +11,7 @@ ExecStartPre=-/usr/bin/mkdir {{ matrix_postgres_data_path }}
|
|||||||
ExecStartPre=-/usr/bin/chown {{ matrix_user_uid }}:{{ matrix_user_gid }} {{ matrix_postgres_data_path }}
|
ExecStartPre=-/usr/bin/chown {{ matrix_user_uid }}:{{ matrix_user_gid }} {{ matrix_postgres_data_path }}
|
||||||
ExecStart=/usr/bin/docker run --rm --name matrix-postgres \
|
ExecStart=/usr/bin/docker run --rm --name matrix-postgres \
|
||||||
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
||||||
--network {{ matrix_docker_network }} \
|
--network={{ matrix_docker_network }} \
|
||||||
--env-file={{ matrix_environment_variables_data_path }}/env-postgres-server-docker \
|
--env-file={{ matrix_environment_variables_data_path }}/env-postgres-server-docker \
|
||||||
-v {{ matrix_postgres_data_path }}:/var/lib/postgresql/data \
|
-v {{ matrix_postgres_data_path }}:/var/lib/postgresql/data \
|
||||||
-v /etc/passwd:/etc/passwd:ro \
|
-v /etc/passwd:/etc/passwd:ro \
|
||||||
|
@ -11,7 +11,7 @@ ExecStart=/usr/bin/docker run --rm --name matrix-riot-web \
|
|||||||
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
--user={{ matrix_user_uid }}:{{ matrix_user_gid }} \
|
||||||
-v {{ matrix_nginx_riot_web_data_path }}/config.json:/riot-web/webapp/config.json:ro \
|
-v {{ matrix_nginx_riot_web_data_path }}/config.json:/riot-web/webapp/config.json:ro \
|
||||||
-v {{ matrix_nginx_riot_web_data_path }}/riot.im.conf:/data/riot.im.conf:ro \
|
-v {{ matrix_nginx_riot_web_data_path }}/riot.im.conf:/data/riot.im.conf:ro \
|
||||||
--network {{ matrix_docker_network }} \
|
--network={{ matrix_docker_network }} \
|
||||||
{% if not matrix_nginx_proxy_enabled %}
|
{% if not matrix_nginx_proxy_enabled %}
|
||||||
-p 127.0.0.1:8765:8765 \
|
-p 127.0.0.1:8765:8765 \
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -23,7 +23,7 @@ ExecStartPre=-/usr/bin/docker rm matrix-synapse
|
|||||||
ExecStartPre=/bin/sleep 5
|
ExecStartPre=/bin/sleep 5
|
||||||
{% endif %}
|
{% endif %}
|
||||||
ExecStart=/usr/bin/docker run --rm --name matrix-synapse \
|
ExecStart=/usr/bin/docker run --rm --name matrix-synapse \
|
||||||
--network {{ matrix_docker_network }} \
|
--network={{ matrix_docker_network }} \
|
||||||
-p 8448:8448 \
|
-p 8448:8448 \
|
||||||
{% if not matrix_nginx_proxy_enabled %}
|
{% if not matrix_nginx_proxy_enabled %}
|
||||||
-p 127.0.0.1:8008:8008 \
|
-p 127.0.0.1:8008:8008 \
|
||||||
|
Loading…
Reference in New Issue
Block a user