소스 검색

Fix ChatGPT container

This container needs a writable $HOME, and will fail at startup if
there isn't one.

Provide one by pointing HOME to a path under the mounted /data
directory.
pull/2405/head
Vladimir Panteleev 3 년 전
부모
커밋
6c332da7d3
No known key found for this signature in database GPG 키 ID: 5004F0FAD051576D
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      roles/custom/matrix-bot-chatgpt/templates/systemd/matrix-bot-chatgpt.service.j2

+ 1
- 0
roles/custom/matrix-bot-chatgpt/templates/systemd/matrix-bot-chatgpt.service.j2 파일 보기

@@ -25,6 +25,7 @@ ExecStart={{ devture_systemd_docker_base_host_command_docker }} run --rm --name
--network={{ matrix_docker_network }} \ --network={{ matrix_docker_network }} \
--env-file={{ matrix_bot_chatgpt_config_path }}/env \ --env-file={{ matrix_bot_chatgpt_config_path }}/env \
--mount type=bind,src={{ matrix_bot_chatgpt_data_path }},dst=/data \ --mount type=bind,src={{ matrix_bot_chatgpt_data_path }},dst=/data \
--env HOME=/data/home \
{% for arg in matrix_bot_chatgpt_container_extra_arguments %} {% for arg in matrix_bot_chatgpt_container_extra_arguments %}
{{ arg }} \ {{ arg }} \
{% endfor %} {% endfor %}


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