소스 검색

Add labels to matrix-mautrix-googlechat.service and use --mount instead of -v

pull/3093/head
Slavi Pantaleev 2 년 전
부모
커밋
6723fcd6d5
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. +3
    -2
      roles/custom/matrix-bridge-mautrix-googlechat/templates/systemd/matrix-mautrix-googlechat.service.j2

+ 3
- 2
roles/custom/matrix-bridge-mautrix-googlechat/templates/systemd/matrix-mautrix-googlechat.service.j2 파일 보기

@@ -27,8 +27,9 @@ ExecStart={{ devture_systemd_docker_base_host_command_docker }} create \
{% if matrix_mautrix_googlechat_container_http_host_bind_port %}
-p {{ matrix_mautrix_googlechat_container_http_host_bind_port }}:8080 \
{% endif %}
-v {{ matrix_mautrix_googlechat_config_path }}:/config:z \
-v {{ matrix_mautrix_googlechat_data_path }}:/data:z \
--mount type=bind,src={{ matrix_mautrix_googlechat_config_path }},dst=/config \
--mount type=bind,src={{ matrix_mautrix_googlechat_data_path }},dst=/data \
--label-file={{ matrix_mautrix_googlechat_base_path }}/labels \
{% for arg in matrix_mautrix_googlechat_container_extra_arguments %}
{{ arg }} \
{% endfor %}


불러오는 중...
취소
저장