mirror of
https://github.com/kossakovsky/n8n-install.git
synced 2026-03-07 22:33:11 +00:00
revert: restore -p localai to preserve user data volumes
switching project name from 'localai' to directory-based naming would cause users to lose all data stored in docker volumes (workflows, databases, configs) since volumes are prefixed with project name
This commit is contained in:
@@ -310,7 +310,7 @@ if is_profile_active "python-runner"; then
|
||||
echo "Mounted Code Directory: ./python-runner (host) -> /app (container)"
|
||||
echo "Entry File: /app/main.py"
|
||||
echo "(Note: Internal-only service with no exposed ports; view output via logs)"
|
||||
echo "Logs: docker compose logs -f python-runner"
|
||||
echo "Logs: docker compose -p localai logs -f python-runner"
|
||||
fi
|
||||
|
||||
if is_profile_active "n8n" || is_profile_active "langfuse"; then
|
||||
|
||||
@@ -77,8 +77,9 @@ if [ -d "$DIFY_DOCKER_DIR" ] && [ -f "$DIFY_COMPOSE_FILE_PATH" ]; then
|
||||
COMPOSE_FILES_FOR_PULL+=("-f" "$DIFY_COMPOSE_FILE_PATH")
|
||||
fi
|
||||
|
||||
# Use the project name "localai" for consistency.
|
||||
# This command WILL respect COMPOSE_PROFILES from the .env file (updated by the wizard above).
|
||||
$COMPOSE_CMD "${COMPOSE_FILES_FOR_PULL[@]}" pull --ignore-buildable || {
|
||||
$COMPOSE_CMD -p "localai" "${COMPOSE_FILES_FOR_PULL[@]}" pull --ignore-buildable || {
|
||||
log_error "Failed to pull Docker images for selected services. Check network connection and Docker Hub status."
|
||||
exit 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user