Explorar el Código

Minor consistency improvement

pull/6/head
Slavi Pantaleev hace 7 años
padre
commit
084a0a0e53
Se han modificado 4 ficheros con 4 adiciones y 4 borrados
  1. +1
    -1
      roles/matrix-server/templates/systemd/matrix-nginx-proxy.service.j2
  2. +1
    -1
      roles/matrix-server/templates/systemd/matrix-postgres.service.j2
  3. +1
    -1
      roles/matrix-server/templates/systemd/matrix-riot-web.service.j2
  4. +1
    -1
      roles/matrix-server/templates/systemd/matrix-synapse.service.j2

+ 1
- 1
roles/matrix-server/templates/systemd/matrix-nginx-proxy.service.j2 Ver fichero

@@ -12,7 +12,7 @@ Type=simple
ExecStartPre=-/usr/bin/docker kill matrix-nginx-proxy
ExecStartPre=-/usr/bin/docker rm 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 443:443 \
-v {{ matrix_nginx_proxy_confd_path }}:/etc/nginx/conf.d:ro \


+ 1
- 1
roles/matrix-server/templates/systemd/matrix-postgres.service.j2 Ver fichero

@@ -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 }}
ExecStart=/usr/bin/docker run --rm --name matrix-postgres \
--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 \
-v {{ matrix_postgres_data_path }}:/var/lib/postgresql/data \
-v /etc/passwd:/etc/passwd:ro \


+ 1
- 1
roles/matrix-server/templates/systemd/matrix-riot-web.service.j2 Ver fichero

@@ -11,7 +11,7 @@ ExecStart=/usr/bin/docker run --rm --name matrix-riot-web \
--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 }}/riot.im.conf:/data/riot.im.conf:ro \
--network {{ matrix_docker_network }} \
--network={{ matrix_docker_network }} \
{% if not matrix_nginx_proxy_enabled %}
-p 127.0.0.1:8765:8765 \
{% endif %}


+ 1
- 1
roles/matrix-server/templates/systemd/matrix-synapse.service.j2 Ver fichero

@@ -23,7 +23,7 @@ ExecStartPre=-/usr/bin/docker rm matrix-synapse
ExecStartPre=/bin/sleep 5
{% endif %}
ExecStart=/usr/bin/docker run --rm --name matrix-synapse \
--network {{ matrix_docker_network }} \
--network={{ matrix_docker_network }} \
-p 8448:8448 \
{% if not matrix_nginx_proxy_enabled %}
-p 127.0.0.1:8008:8008 \


Cargando…
Cancelar
Guardar