Skip to content

Commit

Permalink
fix: update volume mappings in docker-compose template for improved d…
Browse files Browse the repository at this point in the history
…irectory configuration
  • Loading branch information
entelecheia committed Nov 10, 2024
1 parent a25e3a0 commit 329d45f
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,19 @@ services:
{%- endif %}
volumes:
# Maps directories from the host to the container
{%- if copy_scripts_dir %}
- "$HOST_SCRIPTS_DIR:$CONTAINER_WORKSPACE_ROOT/scripts"
- "$HOST_HF_HOME:$CONTAINER_HF_HOME"
{%- endif %}
{%- if source_dir_path %}
- "$HOST_SOURCE_DIR:$APP_SRC_DIR"
{%- endif %}
{%- if install_dotfiles %}
- "$HOST_WORKSPACE_ROOT:$CONTAINER_WORKSPACE_ROOT"
- "$HOST_CACHE_DIR:$CONTAINER_CACHE_DIR"
- "$HOST_SSH_DIR:$CONTAINER_SSH_DIR"
- "$HOST_GH_CONFIG_DIR:$CONTAINER_GH_CONFIG_DIR"
- "$HOST_PASSAGE_DIR:$CONTAINER_PASSAGE_DIR"
- "$HOST_HF_HOME:$CONTAINER_HF_HOME"
{%- endif %}
{%- if enable_nvidia_gpu %}
deploy:
Expand Down

0 comments on commit 329d45f

Please sign in to comment.